class GraphQL::IntegerDecodingError
This error is raised when `Types::Int` is given an input value outside of 32-bit integer range.
For really big integer values, consider `GraphQL::Types::BigInt`
@see GraphQL::Types::Int
which raises this error
Attributes
integer_value[R]
The value which couldn't be decoded
Public Class Methods
new(value)
click to toggle source
Calls superclass method
# File lib/graphql/integer_decoding_error.rb, line 12 def initialize(value) @integer_value = value super("Integer out of bounds: #{value}. \nConsider using GraphQL::Types::BigInt instead.") end