Skip to content

CodeError

Source code in docs_src/capo_appsync/types/code_error.py
class CodeError(TypedDict, closed=True):
    error_type: NotRequired["capo_appsync.types.string.String"]
    """<p>The type of code error. </p> <p>Examples include, but aren't limited to: <code>LINT_ERROR</code>, <code>PARSER_ERROR</code>.</p>"""
    value: NotRequired["capo_appsync.types.string.String"]
    """<p>A user presentable error.</p> <p>Examples include, but aren't limited to: <code>Parsing error: Unterminated string literal</code>.</p>"""
    location: NotRequired["capo_appsync.types.code_error_location.CodeErrorLocation"]
    """<p>The line, column, and span location of the error in the code.</p>"""

error_type instance-attribute

error_type: NotRequired[String]

The type of code error.

Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

location instance-attribute

location: NotRequired[CodeErrorLocation]

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

value instance-attribute

value: NotRequired[String]

A user presentable error.

Examples include, but aren't limited to: Parsing error: Unterminated string literal.