Class: Aws::SagemakerEdgeManager::Errors::InternalServiceException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InternalServiceException.

Parameters:



43
44
45
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/errors.rb', line 43

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

Instance Method Details

#messageString

Returns:

  • (String)


48
49
50
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/errors.rb', line 48

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