summaryrefslogtreecommitdiff
path: root/src/exceptions/JobInterruptedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions/JobInterruptedException.php')
-rw-r--r--src/exceptions/JobInterruptedException.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/exceptions/JobInterruptedException.php b/src/exceptions/JobInterruptedException.php
new file mode 100644
index 0000000..c645cc5
--- /dev/null
+++ b/src/exceptions/JobInterruptedException.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace jobd\exceptions;
+
+class JobInterruptedException extends \Exception {
+
+ public function __construct(int $code = 1, string $message = "") {
+ parent::__construct($message, $code);
+ }
+
+} \ No newline at end of file