Exception: Saklient::Cloud::Errors::AccessTokenException
- Inherits:
-
Errors::HttpForbiddenException
- Object
- StandardError
- Errors::HttpException
- Errors::HttpForbiddenException
- Saklient::Cloud::Errors::AccessTokenException
- Defined in:
- lib/saklient/cloud/errors/access_token_exception.rb
Overview
要求された操作は許可されていません. この操作は有効期限内のトークンが必要です.
Instance Attribute Summary
Attributes inherited from Errors::HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ AccessTokenException
constructor
A new instance of AccessTokenException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ AccessTokenException
Returns a new instance of AccessTokenException.
17 18 19 |
# File 'lib/saklient/cloud/errors/access_token_exception.rb', line 17 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '要求された操作は許可されていません。この操作は有効期限内のトークンが必要です。' : ) end |