Class: Aws::Panorama::Errors::ValidationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ValidationException.

Parameters:



178
179
180
# File 'lib/aws-sdk-panorama/errors.rb', line 178

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

Instance Method Details

#error_argumentsString

Returns:

  • (String)


183
184
185
# File 'lib/aws-sdk-panorama/errors.rb', line 183

def error_arguments
  @data[:error_arguments]
end

#error_idString

Returns:

  • (String)


188
189
190
# File 'lib/aws-sdk-panorama/errors.rb', line 188

def error_id
  @data[:error_id]
end

#fieldsString

Returns:

  • (String)


193
194
195
# File 'lib/aws-sdk-panorama/errors.rb', line 193

def fields
  @data[:fields]
end

#messageString

Returns:

  • (String)


198
199
200
# File 'lib/aws-sdk-panorama/errors.rb', line 198

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

#reasonString

Returns:

  • (String)


203
204
205
# File 'lib/aws-sdk-panorama/errors.rb', line 203

def reason
  @data[:reason]
end