Exception: GraphQL::IntegerEncodingError

Inherits:
RuntimeTypeError show all
Defined in:
lib/graphql/integer_encoding_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ IntegerEncodingError

Returns a new instance of IntegerEncodingError



7
8
9
10
# File 'lib/graphql/integer_encoding_error.rb', line 7

def initialize(value)
  @integer_value = value
  super('Integer out of bounds.')
end

Instance Attribute Details

#integer_valueObject (readonly)

The value which couldn’t be encoded



5
6
7
# File 'lib/graphql/integer_encoding_error.rb', line 5

def integer_value
  @integer_value
end