Exception: QingStor::SDK::ConfigurationError

Inherits:
SDKError
  • Object
show all
Defined in:
lib/qingstor/sdk/general/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(error_message) ⇒ ConfigurationError

Returns a new instance of ConfigurationError.



23
24
25
# File 'lib/qingstor/sdk/general/error.rb', line 23

def initialize(error_message)
  @error_message = error_message
end

Instance Method Details

#messageObject



27
28
29
# File 'lib/qingstor/sdk/general/error.rb', line 27

def message
  "configuration is not valid, #{@error_message}"
end