Media module, users hardening, README and token ledger
This commit is contained in:
1 parent
f86f5aea28
commit
9f2a21fa1f
22 files changed
+827
-24
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user