Exception: Script::Layers::Infrastructure::Errors::GraphqlError
- Inherits:
-
ScriptProjectError
- Object
- StandardError
- ScriptProjectError
- Script::Layers::Infrastructure::Errors::GraphqlError
- Defined in:
- lib/project_types/script/layers/infrastructure/errors.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ GraphqlError
constructor
A new instance of GraphqlError.
Constructor Details
#initialize(errors) ⇒ GraphqlError
Returns a new instance of GraphqlError.
15 16 17 18 |
# File 'lib/project_types/script/layers/infrastructure/errors.rb', line 15 def initialize(errors) @errors = errors super("GraphQL failed with errors: #{errors}") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
14 15 16 |
# File 'lib/project_types/script/layers/infrastructure/errors.rb', line 14 def errors @errors end |