new Deps
This commit is contained in:
1 parent
e7a49138bb
commit
aae17f10a6
818 files changed
+70693
-16406
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Safe\Exceptions;
|
||||
|
||||
class JsonException extends \Exception implements SafeExceptionInterface
|
||||
{
|
||||
public static function createFromPhpError(): self
|
||||
{
|
||||
return new self(\json_last_error_msg(), \json_last_error());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user