Exception: WOTC::Forbidden
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ClientError
- WOTC::Forbidden
- Defined in:
- lib/wotc/error.rb
Overview
Raised when wotc.com returns the HTTP status code 403. Distinct from 401: the token authenticated, the action was refused, often because the resource does not exist or does not belong to this account.
Instance Attribute Summary
Attributes inherited from Error
Method Summary
Methods inherited from Error
#error_sentence, #initialize, #message, #raw_errors
Constructor Details
This class inherits a constructor from WOTC::Error