Exception: Saklient::Cloud::Errors::ServerPowerMustBeDownException
- Inherits:
-
Errors::HttpConflictException
- Object
- StandardError
- Errors::HttpException
- Errors::HttpConflictException
- Saklient::Cloud::Errors::ServerPowerMustBeDownException
- Defined in:
- lib/saklient/cloud/errors/server_power_must_be_down_exception.rb
Overview
要求された操作を行えません. サーバが起動中にはこの操作を行えません.
Instance Attribute Summary
Attributes inherited from Errors::HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ ServerPowerMustBeDownException
constructor
A new instance of ServerPowerMustBeDownException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ ServerPowerMustBeDownException
Returns a new instance of ServerPowerMustBeDownException.
17 18 19 |
# File 'lib/saklient/cloud/errors/server_power_must_be_down_exception.rb', line 17 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '要求された操作を行えません。サーバが起動中にはこの操作を行えません。' : ) end |