for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\MediaLibrary\Exceptions;
use Exception;
class UrlCannotBeDetermined extends Exception
{
public static function mediaNotPubliclyAvailable(string $storagePath, string $publicPath)
return new static("Storagepath `{$storagePath}` is not part of public path `{$publicPath}`");
}