module GraphQL::Schema::DefaultTypeError
Public Class Methods
call(type_error, ctx)
click to toggle source
# File lib/graphql/schema/default_type_error.rb, line 5 def self.call(type_error, ctx) case type_error when GraphQL::InvalidNullError ctx.errors << type_error when GraphQL::UnresolvedTypeError, GraphQL::StringEncodingError, GraphQL::IntegerEncodingError raise type_error when GraphQL::IntegerDecodingError nil end end