Class: Aws::Route53::Errors::CidrBlockInUseException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CidrBlockInUseException.

Parameters:



117
118
119
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 117

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


122
123
124
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 122

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