diff --git a/src/Exceptions/AuthenticationException.php b/src/Exceptions/AuthenticationException.php new file mode 100644 index 0000000..03f6b32 --- /dev/null +++ b/src/Exceptions/AuthenticationException.php @@ -0,0 +1,22 @@ + $errors Detailed per-field validation messages from `details`. + */ + public function __construct( + string $message, + public readonly array $errors = [], + ) { + parent::__construct($message, 422); + } +} diff --git a/src/Exceptions/ZammadException.php b/src/Exceptions/ZammadException.php new file mode 100644 index 0000000..e490aac --- /dev/null +++ b/src/Exceptions/ZammadException.php @@ -0,0 +1,25 @@ +