class EditInPlace::UnregisteredFieldTypeError

An error that occurs when no registered field types exist for the field type name given.

Public Class Methods

new(name) click to toggle source

Creates a new instance of {UnregisteredFieldTypeError} with the given field type name that caused the error. @param name [Symbol] the field type that caused the error; used in the error message.

Calls superclass method
# File lib/edit_in_place/unregistered_field_type_error.rb, line 9
def initialize(name)
  super("No field types are registered with the name '#{name}'")
end