Type Alias IsException<Exception>

IsException<Exception>: ((error: unknown) => error is Exception)

Type Parameters

Type declaration

    • (error): error is Exception
    • Parameters

      • error: unknown

      Returns error is Exception

      Whether error is a known application exception that should be sent to the client when thrown.