Skip to content

Commit e232b0a

Browse files
author
Harrison Ifeanyichukwu
committed
feat: add a MalformedFeed generic exception class
1 parent e3989ee commit e232b0a

File tree

1 file changed

+16
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)