iya-sts
    Preparing search index...

    Variable errorFromResult

    errorFromResult: (result: any) => any = ...

    Type Declaration

      • (result: any): any
      • Turns a worker's refusal back into the error the wrapper expects.

        Parameters

        • result: any

          the worker's result

        Returns any

        a status error, or a plain Error for a refusal that was not one