interface APIFailure

Sent by the error middleware when a request fails, and by the few routes that answer an error themselves.

Properties

success: false
optional
data: never

Usage

import { type APIFailure } from "shared/api.ts";