Exception: Cfer::Util::CferValidationError

Inherits:
CferError
  • Object
show all
Defined in:
lib/cfer/util/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ CferValidationError

Returns a new instance of CferValidationError.



8
9
10
11
# File 'lib/cfer/util/error.rb', line 8

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

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



7
8
9
# File 'lib/cfer/util/error.rb', line 7

def errors
  @errors
end