Class: Aws::AppSync::Types::CodeError
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::AppSync::Types::CodeError
 
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
Describes an AppSync error.
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #error_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of code error. 
- 
  
    
      #location  ⇒ Types::CodeErrorLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The line, column, and span location of the error in the code. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A user presentable error. 
Instance Attribute Details
#error_type ⇒ String
The type of code error.
Examples include, but aren't limited to: LINT_ERROR,
PARSER_ERROR.
| 792 793 794 795 796 797 798 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 792 class CodeError < Struct.new( :error_type, :value, :location) SENSITIVE = [] include Aws::Structure end | 
#location ⇒ Types::CodeErrorLocation
The line, column, and span location of the error in the code.
| 792 793 794 795 796 797 798 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 792 class CodeError < Struct.new( :error_type, :value, :location) SENSITIVE = [] include Aws::Structure end | 
#value ⇒ String
A user presentable error.
Examples include, but aren't limited to: Parsing error:
Unterminated string literal.
| 792 793 794 795 796 797 798 | # File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 792 class CodeError < Struct.new( :error_type, :value, :location) SENSITIVE = [] include Aws::Structure end |