Class: Aws::AppSync::Types::CodeError

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appsync/types.rb

Overview

Describes an AppSync error.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_typeString

The type of code error.

Examples include, but aren’t limited to: ‘LINT_ERROR`, `PARSER_ERROR`.

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'lib/aws-sdk-appsync/types.rb', line 782

class CodeError < Struct.new(
  :error_type,
  :value,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#locationTypes::CodeErrorLocation

The line, column, and span location of the error in the code.



782
783
784
785
786
787
788
# File 'lib/aws-sdk-appsync/types.rb', line 782

class CodeError < Struct.new(
  :error_type,
  :value,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

A user presentable error.

Examples include, but aren’t limited to: ‘Parsing error: Unterminated string literal`.

Returns:

  • (String)


782
783
784
785
786
787
788
# File 'lib/aws-sdk-appsync/types.rb', line 782

class CodeError < Struct.new(
  :error_type,
  :value,
  :location)
  SENSITIVE = []
  include Aws::Structure
end