Skip to content

Commit

Permalink
feat(jusibe): Add IsNull Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
unicodeveloper committed Apr 17, 2016
1 parent 5f99ca4 commit fe4a688
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Exceptions/IsNull.php
Original file line number Diff line number Diff line change
@@ -0,0 1,22 @@
<?php

/*
* This file is part of the Jusibe PHP library.
*
* (c) Prosper Otemuyiwa <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Unicodeveloper\Jusibe\Exceptions;

use Exception;

class IsNull extends Exception
{
public static function create($message)
{
return new static("{$message}");
}
}

0 comments on commit fe4a688

Please sign in to comment.