Exception: Doze::ResourceUnavailableError
- Inherits:
- 
      ServerError
      
        - Object
- StandardError
- Error
- ServerError
- Doze::ResourceUnavailableError
 
- Defined in:
- lib/doze/error.rb
Overview
The resource might exist, but for some reason the requested operation can not be performed at this moment in time. This type of error would indicate that this is a temporary situation and is due, like the error says, to the resource, or some dependency of it, being unavailable. This translates to a 503, innit.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
- 
  
    
      #initialize(message = nil)  ⇒ ResourceUnavailableError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ResourceUnavailableError. 
Methods inherited from Error
Constructor Details
#initialize(message = nil) ⇒ ResourceUnavailableError
Returns a new instance of ResourceUnavailableError.
| 71 72 73 | # File 'lib/doze/error.rb', line 71 def initialize(=nil) super(Doze::Utils::STATUS_SERVICE_UNAVAILABLE, ) end |