Exception: Faulty::FaultyMultiError
- Inherits:
-
FaultyError
- Object
- StandardError
- FaultyError
- Faulty::FaultyMultiError
- Defined in:
- lib/faulty/error.rb
Overview
An error that wraps multiple other errors
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message, errors) ⇒ FaultyMultiError
constructor
A new instance of FaultyMultiError.
Constructor Details
#initialize(message, errors) ⇒ FaultyMultiError
Returns a new instance of FaultyMultiError.
76 77 78 79 |
# File 'lib/faulty/error.rb', line 76 def initialize(, errors) = "#{}: #{errors.map(&:message).join(', ')}" super() end |