Class: Aws::FSx::Errors::SnapmirrorPolicyNotFound

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of SnapmirrorPolicyNotFound.

Parameters:



687
688
689
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 687

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


692
693
694
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 692

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