Exception: Proteus::Validators::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/proteus/validators/validation_error.rb

Instance Method Summary collapse

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("#{message}#{message_suffix}")
end