JsonEncodingException
class JsonEncodingException extends RuntimeException
Methods
static JsonEncodingException
forModel(mixed $model, string $message)
Create a new JSON encoding exception for the model.
static JsonEncodingException
forAttribute(mixed $model, mixed $key, string $message)
Create a new JSON encoding exception for an attribute.
Details
at line 16
static JsonEncodingException
forModel(mixed $model, string $message)
Create a new JSON encoding exception for the model.
at line 29
static JsonEncodingException
forAttribute(mixed $model, mixed $key, string $message)
Create a new JSON encoding exception for an attribute.