Class: Etna::ServerError
- Inherits:
-
Error
- Object
- Error
- Etna::ServerError
- Defined in:
- lib/etna/errors.rb
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 |