iya-sts
    Preparing search index...

    Variable failure

    failure: (
        code: any,
        event: any,
    ) => {
        action: string;
        actor: string;
        actorForm: string;
        address: string;
        at: number;
        category: any;
        channel: string;
        detail: { "(more)": string };
        errorCode: string;
        outcome: any;
        protocol: string;
        seq: number;
        summary: string;
        target: string;
    } = failure

    Type Declaration

      • (
            code: any,
            event: any,
        ): {
            action: string;
            actor: string;
            actorForm: string;
            address: string;
            at: number;
            category: any;
            channel: string;
            detail: { "(more)": string };
            errorCode: string;
            outcome: any;
            protocol: string;
            seq: number;
            summary: string;
            target: string;
        }
      • Records a row whose whole point is its error code: a failure that no HTTP response records.

        Parameters

        • code: any

          the error code

        • event: any

          the rest of the event; action defaults to protocol.failure

        Returns {
            action: string;
            actor: string;
            actorForm: string;
            address: string;
            at: number;
            category: any;
            channel: string;
            detail: { "(more)": string };
            errorCode: string;
            outcome: any;
            protocol: string;
            seq: number;
            summary: string;
            target: string;
        }

        the row written, or null