Exception: Etna::ServerError
- Defined in:
- lib/etna/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(msg = 'Server error', status = 500) ⇒ ServerError
constructor
A new instance of ServerError.
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 |