File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/Throwable/Exception/Runtime Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Dazzle \Throwable \Exception \Runtime ;
4+
5+ use Dazzle \Throwable \Exception \RuntimeException ;
6+
7+ class UnexpectedValueException extends RuntimeException
8+ {}
Original file line number Diff line number Diff line change 1919use Dazzle \Throwable \Exception \Runtime \OutOfBoundsException ;
2020use Dazzle \Throwable \Exception \Runtime \OverflowException ;
2121use Dazzle \Throwable \Exception \Runtime \UnderflowException ;
22+ use Dazzle \Throwable \Exception \Runtime \UnexpectedValueException ;
2223use Dazzle \Throwable \Exception \System \ChildUnresponsiveException ;
2324use Dazzle \Throwable \Exception \System \ParentUnresponsiveException ;
2425use Dazzle \Throwable \Exception \System \TaskIncompleteException ;
@@ -53,6 +54,7 @@ public function testCaseExceptionStructure_IsValid()
5354 OutOfBoundsException::class => RuntimeException::class,
5455 OverflowException::class => RuntimeException::class,
5556 UnderflowException::class => RuntimeException::class,
57+ UnexpectedValueException::class => RuntimeException::class,
5658 ChildUnresponsiveException::class => SystemException::class,
5759 ParentUnresponsiveException::class => SystemException::class,
5860 TaskIncompleteException::class => SystemException::class,
You can’t perform that action at this time.
0 commit comments