Exception: Saklient::Cloud::Errors::CopyToItselfException
- Inherits:
-
Errors::HttpBadRequestException
- Object
- StandardError
- Errors::HttpException
- Errors::HttpBadRequestException
- Saklient::Cloud::Errors::CopyToItselfException
- Defined in:
- lib/saklient/cloud/errors/copy_to_itself_exception.rb
Overview
不適切な要求です. 自分自身をソースとするコピーはできません.
Instance Attribute Summary
Attributes inherited from Errors::HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ CopyToItselfException
constructor
A new instance of CopyToItselfException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ CopyToItselfException
Returns a new instance of CopyToItselfException.
17 18 19 |
# File 'lib/saklient/cloud/errors/copy_to_itself_exception.rb', line 17 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '不適切な要求です。自分自身をソースとするコピーはできません。' : ) end |