Represents an error log in the system. An error log is created when an error occurs in a plan or task, and it contains details about the error.

Constructors

  • Creates an instance of the ErrorLog class.

    Parameters

    • plan_id: string

      The ID of the plan where the error occurred.

    • error: string

      The error message.

    • type: AbstractErrorLogType

      The type of the error log.

    • timestamp: number

      The timestamp when the error occurred.

    Returns ErrorLog

Properties

error: string

The error message.

plan_id: string

The ID of the plan where the error occurred.

timestamp: number

The timestamp (in milliseconds) when the error occurred.

The type of error log (e.g., HookErrorLog, ExecutorErrorLog).

ExecutorErrorLog: typeof __class = ...

Represents an error log related to a task execution failure. This is a nested class within ErrorLog.

HookErrorLog: typeof __class = ...

Represents an error log related to a hook failure. This is a nested class within ErrorLog.