Exception: CrossPlane::ConstructorError
- Inherits:
-
StandardError
- Object
- StandardError
- CrossPlane::ConstructorError
- Defined in:
- lib/crossplane/errors.rb
Instance Method Summary collapse
-
#initialize(errors: nil) ⇒ ConstructorError
constructor
A new instance of ConstructorError.
Constructor Details
#initialize(errors: nil) ⇒ ConstructorError
Returns a new instance of ConstructorError.
3 4 5 6 7 |
# File 'lib/crossplane/errors.rb', line 3 def initialize(errors: nil) @errors = errors @error = @errors.join('; ') super(@error) end |