Exception: MimeActor::ActionError

Inherits:
Error
  • Object
show all
Defined in:
lib/mime_actor/errors.rb

Direct Known Subclasses

ActionNotImplemented

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#generate_message, #inspect

Constructor Details

#initialize(action = nil) ⇒ ActionError

Returns a new instance of ActionError.



36
37
38
39
# File 'lib/mime_actor/errors.rb', line 36

def initialize(action = nil)
  @action = action
  super(generate_message)
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



34
35
36
# File 'lib/mime_actor/errors.rb', line 34

def action
  @action
end