v0.9.2
This commit is contained in:
commit
8f8513f802
278 files changed
+18400
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Exceptions;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
/**
|
||||
* The storage behind the media library could not store, return or delete a file.
|
||||
* `status` is 404 when the file is gone, 0 otherwise.
|
||||
*/
|
||||
class MediaStorageException extends RuntimeException
|
||||
{
|
||||
public function __construct(string $message, public readonly int $status = 0, public readonly ?int $retryAfter = null)
|
||||
{
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Exceptions;
|
||||
|
||||
class ModuleException extends \LogicException {}
|
||||
Reference in new issue
Block a user