File tree 3 files changed +31
-5
lines changed
3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ namespace App \Libs \Exceptions ;
6
+
7
+ use ErrorException ;
8
+
9
+ /**
10
+ * Base Exception class for the backends errors.
11
+ */
12
+ class BackendException extends ErrorException
13
+ {
14
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ namespace App \Libs \Exceptions ;
6
+
7
+ /**
8
+ * Class InvalidArgumentException
9
+ *
10
+ * This class represents an exception that is thrown by the backend logic.
11
+ */
12
+ class InvalidArgumentException extends BackendException
13
+ {
14
+ }
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Libs ;
6
-
7
- use ErrorException ;
5
+ namespace App \Libs \Exceptions ;
8
6
9
7
/**
10
- * Class BackendException
8
+ * Class RuntimeException
11
9
*
12
10
* This class represents an exception that is thrown by the backend logic.
13
11
*/
14
- class BackendException extends ErrorException
12
+ class RuntimeException extends BackendException
15
13
{
16
14
}
You can’t perform that action at this time.
0 commit comments