Exception: Doze::ForbiddenError
- Inherits:
- 
      ClientError
      
        - Object
- StandardError
- Error
- ClientError
- Doze::ForbiddenError
 
- Defined in:
- lib/doze/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
- 
  
    
      #initialize(reason = 'forbidden')  ⇒ ForbiddenError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ForbiddenError. 
Methods inherited from Error
Constructor Details
#initialize(reason = 'forbidden') ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
| 56 57 58 | # File 'lib/doze/error.rb', line 56 def initialize(reason='forbidden') super(Doze::Utils::STATUS_FORBIDDEN, reason) end |