Exception: CrossPlane::ConstructorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/crossplane/errors.rb

Instance Method Summary collapse

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