Exception: Emarsys::Broadcast::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Emarsys::Broadcast::ValidationError
- Defined in:
- lib/emarsys/broadcast/validation_error.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(message, errors) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message, errors) ⇒ ValidationError
Returns a new instance of ValidationError.
5 6 7 8 |
# File 'lib/emarsys/broadcast/validation_error.rb', line 5 def initialize(, errors) super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
4 5 6 |
# File 'lib/emarsys/broadcast/validation_error.rb', line 4 def errors @errors end |