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 error: APIError