Exception: EditInPlace::UnsupportedModeError
- Defined in:
- lib/edit_in_place/unsupported_mode_error.rb
Overview
An error that occurs when a field is rendered with a mode that is does not support.
Instance Method Summary collapse
-
#initialize(mode) ⇒ UnsupportedModeError
constructor
Creates a new instance of UnsupportedModeError with the given mode that caused the error.
Constructor Details
#initialize(mode) ⇒ UnsupportedModeError
Creates a new instance of EditInPlace::UnsupportedModeError with the given mode that caused the error.
9 10 11 |
# File 'lib/edit_in_place/unsupported_mode_error.rb', line 9 def initialize(mode) super("The mode '#{mode}' is not supported by this field type!") end |