Class: Aws::Lightsail::Errors::AccountSetupInProgressException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccountSetupInProgressException

Returns a new instance of AccountSetupInProgressException.

Parameters:



79
80
81
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb', line 79

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#codeString

Returns:

  • (String)


84
85
86
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb', line 84

def code
  @code || @data[:code]
end

#docsString

Returns:

  • (String)


89
90
91
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb', line 89

def docs
  @data[:docs]
end

#messageString

Returns:

  • (String)


94
95
96
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb', line 94

def message
  @message || @data[:message]
end

#tipString

Returns:

  • (String)


99
100
101
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/errors.rb', line 99

def tip
  @data[:tip]
end