Class: Aws::AuditManager::Errors::ValidationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ValidationException.

Parameters:



101
102
103
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/errors.rb', line 101

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

Instance Method Details

#fieldsString

Returns:

  • (String)


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

def fields
  @data[:fields]
end

#messageString

Returns:

  • (String)


106
107
108
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/errors.rb', line 106

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

#reasonString

Returns:

  • (String)


111
112
113
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/errors.rb', line 111

def reason
  @data[:reason]
end