struct
JSONAPI::ErrorSource
- JSONAPI::ErrorSource
- Struct
- Value
- Object
Overview
Identifies the request origin of an error (#pointer, #parameter, or #header).
Defined in:
jsonapi/error.crConstructors
Instance Method Summary
- #empty? : Bool
- #header : String | Nil
- #parameter : String | Nil
- #pointer : String | Nil
- #to_json(json : JSON::Builder) : Nil
Constructor Detail
def self.new(pointer : String | Nil = nil, parameter : String | Nil = nil, header : String | Nil = nil)
#