Exception: Rasti::Types::MultiCastError
- Inherits:
-
CompoundError
- Object
- StandardError
- Error
- CompoundError
- Rasti::Types::MultiCastError
- Defined in:
- lib/rasti/types/errors.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from CompoundError
Instance Method Summary collapse
-
#initialize(type, value, errors) ⇒ MultiCastError
constructor
A new instance of MultiCastError.
Constructor Details
#initialize(type, value, errors) ⇒ MultiCastError
Returns a new instance of MultiCastError.
51 52 53 54 55 |
# File 'lib/rasti/types/errors.rb', line 51 def initialize(type, value, errors) @type = type @value = value super errors end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
49 50 51 |
# File 'lib/rasti/types/errors.rb', line 49 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
49 50 51 |
# File 'lib/rasti/types/errors.rb', line 49 def value @value end |