@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface PrincipalLifecycleErrorOptions

    interface PrincipalLifecycleErrorOptions {
        code?: PrincipalLifecycleErrorCode;
        recovery?: ClientPreflightAdcpErrorRecovery;
        dispatched?: false;
        cause?: unknown;
        taskResult?: TaskResult<unknown>;
        protocolErrors?: readonly unknown[];
        appliedResponse?: AppliedPrincipalConfiguration;
        applied?: AppliedPrincipalConfiguration;
        current?: CurrentPrincipalConfiguration;
        attemptedRequest?: MutatingRequestInput<SyncPrincipalRequest>;
    }
    Index

    Defaults to PRINCIPAL_LIFECYCLE_FAILED.

    Defaults to the seller's first protocol error recovery, else the code's.

    dispatched?: false

    Pass false only when no bytes of the sync_principal write left the process. See isPreDispatchError.

    cause?: unknown
    taskResult?: TaskResult<unknown>
    protocolErrors?: readonly unknown[]
    appliedResponse?: AppliedPrincipalConfiguration
    applied?: AppliedPrincipalConfiguration

    Use appliedResponse.

    current?: CurrentPrincipalConfiguration