Exception: TableSchema::MultipleInvalid
- Defined in:
- lib/tableschema/exceptions.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, errors = []) ⇒ MultipleInvalid
constructor
A new instance of MultipleInvalid.
Constructor Details
#initialize(message, errors = []) ⇒ MultipleInvalid
Returns a new instance of MultipleInvalid.
15 16 17 18 |
# File 'lib/tableschema/exceptions.rb', line 15 def initialize(, errors=[]) @message = @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
13 14 15 |
# File 'lib/tableschema/exceptions.rb', line 13 def errors @errors end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
13 14 15 |
# File 'lib/tableschema/exceptions.rb', line 13 def @message end |