Exception: Proteus::Validators::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Proteus::Validators::ValidationError
- Defined in:
- lib/proteus/validators/validation_error.rb
Instance Method Summary collapse
-
#initialize(message: "A validation error occured: ", message_suffix: "") ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message: "A validation error occured: ", message_suffix: "") ⇒ ValidationError
Returns a new instance of ValidationError.
4 5 6 |
# File 'lib/proteus/validators/validation_error.rb', line 4 def initialize(message: "A validation error occured: ", message_suffix: "") super("#{}#{}") end |