@backstageai/common
Version:
Common code for Backstage AI services
16 lines (15 loc) • 341 B
JavaScript
module.exports = {
HTTP_STATUS: {
// ALL of the http status code returned for ALL the API groups.
OK: 200,
BAD_REQUEST: 400,
UNAUTHORIZED: 401,
PAYMENT_REQUIRED: 402,
REFRESH_TOKEN_INVALID: 418,
FORBIDDEN: 403,
NOT_FOUND: 404,
CONFLICT: 409,
SERVER_ERROR: 500,
SERVICE_UNAVAILABLE: 503,
},
};