<?php
declare(strict_types=1);
namespace League\Flysystem;
use RuntimeException;
use Throwable;
final class UnableToGeneratePublicUrl extends RuntimeException implements FilesystemException
{
public function __construct(string $reason, string $path, ?Throwable $previous = null)
{
parent::__construct("Unable to generate public url for $path: $reason", 0, $previous);
}
public static function dueToError(string $path, Throwable $exception): static
{
return new static($exception->getMessage(), $path, $exception);
}
public static function noGeneratorConfigured(string $path, string $extraReason = ''): static
{
return new static('No generator was configured ' . $extraReason, $path);
}
}
Contact Section
We’d love to hear from you! Whether you have questions, feedback, or need support, our team is here to help. Reach out to us via email, phone, or visit our office. We’re committed to providing you with exceptional service and ensuring your experience with NFC Pay is seamless and satisfying. Let’s connect!