Class: GraphQL::Client::FailedResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/graphql/client.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#extensions

Instance Method Summary collapse

Constructor Details

#initialize(errors:, **kargs) ⇒ FailedResponse

Returns a new instance of FailedResponse.



196
197
198
199
# File 'lib/graphql/client.rb', line 196

def initialize(errors:, **kargs)
  @errors = errors
  super(**kargs)
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



194
195
196
# File 'lib/graphql/client.rb', line 194

def errors
  @errors
end