Exception: GraphQL::Testing::Helpers::TypeNotDefinedError
Instance Method Summary collapse
-
#initialize(type_name:) ⇒ TypeNotDefinedError
constructor
A new instance of TypeNotDefinedError.
Constructor Details
#initialize(type_name:) ⇒ TypeNotDefinedError
Returns a new instance of TypeNotDefinedError.
29 30 31 32 |
# File 'lib/graphql/testing/helpers.rb', line 29 def initialize(type_name:) = "No type named `#{type_name}` is defined; choose another type name or define this type." super() end |