Exception: Etna::ServerError

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

Instance Attribute Summary

Attributes inherited from Error

#level, #status

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Server error', status = 500) ⇒ ServerError

Returns a new instance of ServerError.



38
39
40
41
# File 'lib/etna/errors.rb', line 38

def initialize(msg = 'Server error', status = 500)
  super
  @level = Logger::ERROR
end