Exception: GraphQL::IntegerEncodingError
- Inherits:
-
RuntimeTypeError
- Object
- StandardError
- Error
- RuntimeTypeError
- GraphQL::IntegerEncodingError
- Defined in:
- lib/graphql/integer_encoding_error.rb
Instance Attribute Summary collapse
-
#integer_value ⇒ Object
readonly
The value which couldn’t be encoded.
Instance Method Summary collapse
-
#initialize(value) ⇒ IntegerEncodingError
constructor
A new instance of IntegerEncodingError.
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_value ⇒ Object (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 |