struct
JSONAPI::ErrorDocument
- JSONAPI::ErrorDocument
- Struct
- Value
- Object
Overview
Top-level JSON:API v1.1 error response document.
Defined in:
jsonapi/error.crConstructors
Instance Method Summary
- #errors : Array(ErrorObject)
- #include_version? : Bool
- #links : Links | Nil
- #meta : Meta | Nil
- #to_json(json : JSON::Builder) : Nil
- #to_json(io : IO) : Nil
- #to_json : String
Constructor Detail
def self.new(errors : Array(ErrorObject), include_version : Bool = true, links : Links | Nil = nil, meta : Meta | Nil = nil)
#