Exception: MimeActor::ActorError

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

Direct Known Subclasses

ActorNotFound

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#generate_message, #inspect

Constructor Details

#initialize(actor) ⇒ ActorError

Returns a new instance of ActorError.



21
22
23
24
# File 'lib/mime_actor/errors.rb', line 21

def initialize(actor)
  @actor = actor
  super(generate_message)
end

Instance Attribute Details

#actorObject (readonly)

Returns the value of attribute actor.



19
20
21
# File 'lib/mime_actor/errors.rb', line 19

def actor
  @actor
end