Media module, users hardening, README and token ledger

This commit is contained in:
Matthijs Iriks committed 2026-12-04 01:27:04 +01:00
1 parent f86f5aea28
commit 9f2a21fa1f
22 files changed
+827 -24

No files matched your search

+17
View File
@@ -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);
}
}