ERROR_CODES: {
    badRequest: "badRequest";
    conflict: "conflict";
    forbidden: "forbidden";
    internal: "internal";
    notFound: "notFound";
    tooManyRequests: "tooManyRequests";
    unauthorized: "unauthorized";
    unprocessableEntity: "unprocessableEntity";
} = ...

Standard error codes used across microservices.

Type declaration

  • ReadonlybadRequest: "badRequest"
  • Readonlyconflict: "conflict"
  • Readonlyforbidden: "forbidden"
  • Readonlyinternal: "internal"
  • ReadonlynotFound: "notFound"
  • ReadonlytooManyRequests: "tooManyRequests"
  • Readonlyunauthorized: "unauthorized"
  • ReadonlyunprocessableEntity: "unprocessableEntity"