Exception: Syntropy::ValidationError

Inherits:
Error
  • Object
show all
Defined in:
lib/syntropy/errors.rb

Constant Summary

Constants inherited from Error

Error::Status

Instance Attribute Summary

Attributes inherited from Error

#http_status

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ ValidationError

Returns a new instance of ValidationError.



30
31
32
# File 'lib/syntropy/errors.rb', line 30

def initialize(msg)
  super(Qeweney::Status::BAD_REQUEST, msg)
end