Exception: Mailtrap::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Mailtrap::Error
- Defined in:
- lib/mailtrap/errors.rb
Direct Known Subclasses
AuthorizationError, MailSizeError, RateLimitError, RejectionError
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
-
#initialize(messages) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(messages) ⇒ Error
Returns a new instance of Error.
12 13 14 15 16 |
# File 'lib/mailtrap/errors.rb', line 12 def initialize() @messages = super(.join(', ')) end |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
10 11 12 |
# File 'lib/mailtrap/errors.rb', line 10 def @messages end |