Exception: Ask::Schema::InvalidSchemaTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/ask/schema/errors.rb

Overview

Raised when an invalid schema type is specified.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidSchemaTypeError

Returns a new instance of InvalidSchemaTypeError.

Parameters:

  • type (Symbol)

    The unrecognized type



11
12
13
# File 'lib/ask/schema/errors.rb', line 11

def initialize(type)
  super("Unknown schema type: #{type}")
end