Files
GseTDDUebungKCLR/database/phpMyAdmin/vendor/thecodingmachine/safe/lib/Exceptions/JsonException.php
Riley Schneider b732d8d4b5 Initial Commit
2025-12-03 16:38:10 +01:00

13 lines
248 B
PHP

<?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());
}
}