Skip to content

ErrorObject

Source code in docs_src/capo_lambda/types/error_object.py
class ErrorObject(TypedDict, closed=True):
    error_message: NotRequired["capo_lambda.types.error_message.ErrorMessage"]
    """<p>A human-readable error message.</p>"""
    error_type: NotRequired["capo_lambda.types.error_type.ErrorType"]
    """<p>The error type.</p>"""
    error_data: NotRequired["capo_lambda.types.error_data.ErrorData"]
    """<p>Machine-readable error data.</p>"""
    stack_trace: NotRequired["capo_lambda.types.stack_trace_entries.StackTraceEntries"]
    """<p>Stack trace information for the error.</p>"""

error_data instance-attribute

error_data: NotRequired[ErrorData]

Machine-readable error data.

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

A human-readable error message.

error_type instance-attribute

error_type: NotRequired[ErrorType]

The error type.

stack_trace instance-attribute

stack_trace: NotRequired[StackTraceEntries]

Stack trace information for the error.