Convert ExceptionCodes constants to enum cases
This commit is contained in:
parent
718c6ff8d8
commit
e1013f6c15
16 changed files with 32 additions and 50 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue