Exception: Syntropy::ValidationError

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

Instance Attribute Summary

Attributes inherited from Error

#http_status

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ ValidationError

Returns a new instance of ValidationError.



16
17
18
# File 'lib/syntropy/errors.rb', line 16

def initialize(msg)
  @http_status = Qeweney::Status::BAD_REQUEST
end