typesafe-ts API Documentation - v1.2.0
    Preparing search index...

    Interface TryAsyncError

    Error type returned by try_async operations when an async function throws or rejects. Contains comprehensive debugging information about the failed operation.

    interface TryAsyncError {
        originalError: unknown;
        operation: string;
        timestamp: number;
        cause?: unknown;
        name: string;
        message: string;
        stack?: string;
    }

    Hierarchy

    • Error
      • TryAsyncError
    Index

    Properties

    originalError: unknown

    The original error/value that was thrown or caused the rejection

    operation: string

    Description of the operation that failed

    timestamp: number

    Timestamp when the error occurred (milliseconds since epoch)

    cause?: unknown
    name: string
    message: string
    stack?: string