iya-sts
    Preparing search index...

    Variable gnapError

    gnapError: (
        res: any,
        status: number,
        code: string,
        description: string,
        extra?: object,
    ) => void = ...

    Type Declaration

      • (
            res: any,
            status: number,
            code: string,
            description: string,
            extra?: object,
        ): void
      • Sends a GNAP error response: { error: { code, description } } with the given status, marked no-store.

        Parameters

        • res: any

          the response to answer on

        • status: number

          the HTTP status

        • code: string

          the GNAP error code

        • description: string

          the human-readable description

        • Optionalextra: object

          further members merged into the body

        Returns void