Exception: GraphQL::FragmentCache::WriteError
- Inherits:
-
StandardError
- Object
- StandardError
- GraphQL::FragmentCache::WriteError
- Defined in:
- lib/graphql/fragment_cache/cacher.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(original_error, key, value) ⇒ WriteError
constructor
A new instance of WriteError.
Constructor Details
#initialize(original_error, key, value) ⇒ WriteError
Returns a new instance of WriteError.
10 11 12 13 14 15 16 |
# File 'lib/graphql/fragment_cache/cacher.rb', line 10 def initialize(original_error, key, value) @original_error = original_error @key = key @value = value super(original_error.) end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
8 9 10 |
# File 'lib/graphql/fragment_cache/cacher.rb', line 8 def key @key end |
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
8 9 10 |
# File 'lib/graphql/fragment_cache/cacher.rb', line 8 def original_error @original_error end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/graphql/fragment_cache/cacher.rb', line 8 def value @value end |