iya-sts
    Preparing search index...

    Variable refusal

    refusal: (code: string, why: string) => Refusal = ...

    Type Declaration

      • (code: string, why: string): Refusal
      • Returns a refusal carrying an error code and a reason.

        Parameters

        • code: string

          the error code

        • why: string

          the reason

        Returns Refusal

        { ok: false, errorCode, why }, marked with the code