Exception: ZeroRailsAdapter::ParseError
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- ZeroRailsAdapter::ParseError
- Defined in:
- lib/zero_rails_adapter/errors.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Attributes inherited from ProtocolError
Instance Method Summary collapse
-
#initialize(message, mutation_ids: [], source: :body) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, mutation_ids: [], source: :body) ⇒ ParseError
Returns a new instance of ParseError.
35 36 37 38 |
# File 'lib/zero_rails_adapter/errors.rb', line 35 def initialize(, mutation_ids: [], source: :body) @source = source super(, mutation_ids:) end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
33 34 35 |
# File 'lib/zero_rails_adapter/errors.rb', line 33 def source @source end |