Exception: EnvValidator::ValidationErrors

Inherits:
Error
  • Object
show all
Defined in:
lib/env_validator/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ ValidationErrors

Returns a new instance of ValidationErrors.



105
106
107
108
# File 'lib/env_validator/error.rb', line 105

def initialize(errors)
  @errors = errors
  super(build_message)
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



103
104
105
# File 'lib/env_validator/error.rb', line 103

def errors
  @errors
end