Class: Aws::DeviceFarm::Errors::TagOperationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TagOperationException.

Parameters:



189
190
191
# File 'lib/aws-sdk-devicefarm/errors.rb', line 189

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

Instance Method Details

#messageString

Returns:

  • (String)


194
195
196
# File 'lib/aws-sdk-devicefarm/errors.rb', line 194

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

#resource_nameString

Returns:

  • (String)


199
200
201
# File 'lib/aws-sdk-devicefarm/errors.rb', line 199

def resource_name
  @data[:resource_name]
end