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)


604
605
606
607
608
609
610
# File 'lib/aws-sdk-appsync/types.rb', line 604

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.



604
605
606
607
608
609
610
# File 'lib/aws-sdk-appsync/types.rb', line 604

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)


604
605
606
607
608
609
610
# File 'lib/aws-sdk-appsync/types.rb', line 604

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