package apiresponse

// Standard API error codes.
const (
	CodeAuthUnavailable          = "auth.unavailable"
	CodeAuthMissingAuthorization = "auth.missing_authorization"
	CodeAuthInvalidAuthorization = "auth.invalid_authorization"
	CodeAuthInvalidToken         = "auth.invalid_token"
	CodeAuthUnauthorized         = "auth.unauthorized"
	CodeAuthForbidden            = "auth.forbidden"
	CodeIdentityNotAllowed       = "auth.identity_not_allowed"

	CodeInvalidQueryParam = "invalid_query_param"
	CodeInvalidRequest    = "invalid_request_body"
	CodeNotFound          = "not_found"
	CodeInternal          = "internal_error"
	CodePayloadTooLarge   = "request_body_too_large"
	CodeRateLimited       = "rate_limited"
)
