Exception: GraphQL::FragmentCache::WriteMultiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/graphql/fragment_cache/cacher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_error, values) ⇒ WriteMultiError

Returns a new instance of WriteMultiError.



22
23
24
25
26
27
# File 'lib/graphql/fragment_cache/cacher.rb', line 22

def initialize(original_error, values)
  @original_error = original_error
  @values = values

  super(original_error.message)
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



20
21
22
# File 'lib/graphql/fragment_cache/cacher.rb', line 20

def original_error
  @original_error
end

#valuesObject (readonly)

Returns the value of attribute values.



20
21
22
# File 'lib/graphql/fragment_cache/cacher.rb', line 20

def values
  @values
end