Exception: Rescue::NoActionError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rescue/errors.rb

Instance Method Summary collapse

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