Class: Aws::SecurityIR::Errors::ValidationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ValidationException.

Parameters:



237
238
239
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/errors.rb', line 237

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

Instance Method Details

#field_listString

Returns:

  • (String)


252
253
254
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/errors.rb', line 252

def field_list
  @data[:field_list]
end

#messageString

Returns:

  • (String)


242
243
244
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/errors.rb', line 242

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

#reasonString

Returns:

  • (String)


247
248
249
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/errors.rb', line 247

def reason
  @data[:reason]
end