Exception: EditInPlace::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/edit_in_place/error.rb

Overview

Error is a subclass of StandardError from which all custom errors in edit_in_place are derived. One potential use for this class is to rescue all custom errors produced by edit_in_place. For example:

begin
  # Do something risky with edit_in_place here...
rescue EditInPlace::Error
  # Catch any edit_in_place-specific error here...
end