Exception: Saklient::Errors::HttpUnauthorizedException
- Inherits:
-
HttpException
- Object
- StandardError
- HttpException
- Saklient::Errors::HttpUnauthorizedException
- Defined in:
- lib/saklient/errors/http_unauthorized_exception.rb
Overview
この操作は認証が必要です. IDまたはパスワードが誤っている可能性があります.
Instance Attribute Summary
Attributes inherited from HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ HttpUnauthorizedException
constructor
A new instance of HttpUnauthorizedException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ HttpUnauthorizedException
Returns a new instance of HttpUnauthorizedException.
16 17 18 |
# File 'lib/saklient/errors/http_unauthorized_exception.rb', line 16 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? 'この操作は認証が必要です。IDまたはパスワードが誤っている可能性があります。' : ) end |