Exception: Eluvia::Errors::ServiceUnavailable
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- Eluvia::Errors::ServiceUnavailable
- Defined in:
- lib/eluvia/errors/service_unavailable.rb
Instance Attribute Summary
Attributes inherited from StandardError
#error, #message, #no_sentry, #source, #status, #timestamp
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ServiceUnavailable
constructor
A new instance of ServiceUnavailable.
Methods inherited from StandardError
Constructor Details
#initialize(message = nil) ⇒ ServiceUnavailable
Returns a new instance of ServiceUnavailable.
5 6 7 8 9 10 11 12 13 |
# File 'lib/eluvia/errors/service_unavailable.rb', line 5 def initialize( = nil) super( || "The server cannot handle the request (because it is overloaded or down for maintenance).", "Service Unavailable", 503, nil, false ) end |