Exception: Apill::Errors::InvalidToken
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Apill::Errors::InvalidToken
- Includes:
- HumanError::Error
- Defined in:
- lib/apill/errors/invalid_token.rb
Instance Method Summary collapse
Instance Method Details
#detail ⇒ Object
16 17 18 |
# File 'lib/apill/errors/invalid_token.rb', line 16 def detail 'Either the token you passed is invalid or is not allowed to perform this action.' end |
#http_status ⇒ Object
8 9 10 |
# File 'lib/apill/errors/invalid_token.rb', line 8 def http_status 401 end |
#title ⇒ Object
12 13 14 |
# File 'lib/apill/errors/invalid_token.rb', line 12 def title 'Invalid or Unauthorized Token' end |