class Aws::Lightsail::Errors::ServiceException

Public Class Methods

new(context, message, data = Aws::EmptyStructure.new) click to toggle source

@param [Seahorse::Client::RequestContext] context @param [String] message @param [Aws::Lightsail::Types::ServiceException] data

Calls superclass method
# File lib/aws-sdk-lightsail/errors.rb, line 199
def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Public Instance Methods

code() click to toggle source

@return [String]

# File lib/aws-sdk-lightsail/errors.rb, line 204
def code
  @code || @data[:code]
end
docs() click to toggle source

@return [String]

# File lib/aws-sdk-lightsail/errors.rb, line 209
def docs
  @data[:docs]
end
message() click to toggle source

@return [String]

# File lib/aws-sdk-lightsail/errors.rb, line 214
def message
  @message || @data[:message]
end
tip() click to toggle source

@return [String]

# File lib/aws-sdk-lightsail/errors.rb, line 219
def tip
  @data[:tip]
end