Files
dyncoll-dev/backend/app/Exceptions/CannotDeleteSystemUserException.php
Giuseppe Naponiello cc4e174880 auth tests
2026-06-22 14:31:44 +02:00

18 lines
404 B
PHP

<?php
namespace App\Exceptions;
use RuntimeException;
/**
* Sollevata quando si tenta di anonimizzare/eliminare l'utente di sistema,
* che deve restare sempre presente come destinatario dei contenuti riassegnati.
*/
class CannotDeleteSystemUserException extends RuntimeException
{
public static function make(): self
{
return new self('The system user cannot be deleted.');
}
}