Class: Aws::GlobalAccelerator::Errors::IncorrectCidrStateException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of IncorrectCidrStateException.

Parameters:



225
226
227
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/errors.rb', line 225

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

Instance Method Details

#messageString

Returns:

  • (String)


230
231
232
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/errors.rb', line 230

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