Improved exception handling

This commit is contained in:
lukas committed 2026-10-16 08:38:08 +00:00
1 parent 70c52b8ad2
commit 12ed032a31
3 files changed
+50 -9

No files matched your search

@@ -11,4 +11,12 @@ namespace CloudObjects\SDK\Exceptions;
*/
class CoreAPIException extends SDKException {
/**
* @param string $message The error message.
* @param \Throwable|null $previous The original exception that caused this error, if any.
*/
public function __construct(string $message = "", ?\Throwable $previous = null) {
parent::__construct($message, 0, $previous);
}
}