Exception: FlyIO::GraphQLError
- Defined in:
- lib/fly_io/errors.rb
Instance Attribute Summary collapse
-
#graphql_errors ⇒ Object
readonly
Returns the value of attribute graphql_errors.
Attributes inherited from APIError
#details, #headers, #request, #request_id, #status
Instance Method Summary collapse
-
#initialize(message = "Fly.io GraphQL request failed", graphql_errors: []) ⇒ GraphQLError
constructor
A new instance of GraphQLError.
Constructor Details
#initialize(message = "Fly.io GraphQL request failed", graphql_errors: []) ⇒ GraphQLError
Returns a new instance of GraphQLError.
40 41 42 43 |
# File 'lib/fly_io/errors.rb', line 40 def initialize( = "Fly.io GraphQL request failed", graphql_errors: [], **) @graphql_errors = Redactor.redact_object(graphql_errors) super(, details: @graphql_errors, **) end |
Instance Attribute Details
#graphql_errors ⇒ Object (readonly)
Returns the value of attribute graphql_errors.
38 39 40 |
# File 'lib/fly_io/errors.rb', line 38 def graphql_errors @graphql_errors end |