Exception: Rescue::NoActionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rescue::NoActionError
- Defined in:
- lib/rescue/errors.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ NoActionError
constructor
A new instance of NoActionError.
Constructor Details
#initialize(type) ⇒ NoActionError
Returns a new instance of NoActionError.
5 6 7 |
# File 'lib/rescue/errors.rb', line 5 def initialize type super "Undefined `#{type}` type. Please specify :show, :edit, :new, :create, :update, or :destory on the :type argument." end |