Refactor all exception classes, remove unclear RuntimeException, InvalidArgumentException

This commit is contained in:
crazywhalecc
2025-08-06 20:21:09 +08:00
committed by Jerry Ma
parent 0c9a30256e
commit cc447a089a
13 changed files with 383 additions and 19 deletions

View File

@@ -4,4 +4,7 @@ declare(strict_types=1);
namespace SPC\exception;
class InterruptException extends \Exception {}
/**
* Exception caused by manual intervention.
*/
class InterruptException extends SPCException {}