Exception: Saklient::Errors::HttpForbiddenException
- Inherits:
-
HttpException
- Object
- StandardError
- HttpException
- Saklient::Errors::HttpForbiddenException
- Defined in:
- lib/saklient/errors/http_forbidden_exception.rb
Overview
要求された操作は許可されていません. 権限エラー.
Direct Known Subclasses
Cloud::Errors::AccessApiKeyDisabledException, Cloud::Errors::AccessSakuraException, Cloud::Errors::AccessStaffException, Cloud::Errors::AccessTokenException, Cloud::Errors::AccessXhrOrApiKeyException, Cloud::Errors::AccountNotSpecifiedException, Cloud::Errors::DisabledInSandboxException, Cloud::Errors::DontCreateInSandboxException, Cloud::Errors::UserNotSpecifiedException
Instance Attribute Summary
Attributes inherited from HttpException
Instance Method Summary (collapse)
-
- (HttpForbiddenException) initialize(status, code = nil, message = '')
constructor
A new instance of HttpForbiddenException.
Constructor Details
- (HttpForbiddenException) initialize(status, code = nil, message = '')
Returns a new instance of HttpForbiddenException
16 17 18 |
# File 'lib/saklient/errors/http_forbidden_exception.rb', line 16 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '要求された操作は許可されていません。権限エラー。' : ) end |