Skip to content

Commit 7170443

Browse files
author
Harrison Ifeanyichukwu
committed
feat: add an UnexpectedValue generic exception class
1 parent 3fc4cb5 commit 7170443

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
declare(strict_types = 1);
3+
4+
namespace Forensic\FeedParser\Exceptions;
5+
use Exception;
6+
7+
class UnexpectedValueException extends Exception
8+
{
9+
public function __construct(string $message, int $code = 0, Exception $previous = null)
10+
{
11+
parent::__construct($message, $code, $previous);
12+
}
13+
}

0 commit comments

Comments
 (0)