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)
-
- (ServerPowerMustBeDownException) initialize(status, code = nil, message = '')
constructor
A new instance of ServerPowerMustBeDownException.
Constructor Details
- (ServerPowerMustBeDownException) initialize(status, code = nil, message = '')
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 |