Convert ExceptionCodes constants to enum cases

This commit is contained in:
netkas 2024-09-14 00:34:12 -04:00
parent 718c6ff8d8
commit e1013f6c15
16 changed files with 32 additions and 50 deletions

View file

@ -34,6 +34,6 @@
*/
public function __construct(string $message = "", ?Throwable $previous = null)
{
parent::__construct($message, ExceptionCodes::PACKAGE_EXCEPTION, $previous);
parent::__construct($message, ExceptionCodes::PACKAGE_EXCEPTION->value, $previous);
}
}