JsonEncodingException
class JsonEncodingException extends RuntimeException
Methods
static JsonEncodingException
static JsonEncodingException
forResource(object $resource, string $message)
Create a new JSON encoding exception for the resource.
static JsonEncodingException
forAttribute(Model $model, mixed $key, string $message)
Create a new JSON encoding exception for an attribute.
Details
at line 14
static JsonEncodingException
forModel(Model $model, string $message)
Create a new JSON encoding exception for the model.
at line 24
static JsonEncodingException
forResource(object $resource, string $message)
Create a new JSON encoding exception for the resource.
at line 34
static JsonEncodingException
forAttribute(Model $model, mixed $key, string $message)
Create a new JSON encoding exception for an attribute.