Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: added error messages for a user history
ankitsridhar160c9aa2f68186
diff --git a/packages/hoppscotch-backend/src/errors.ts b/packages/hoppscotch-backend/src/errors.tsindex 794a06db5..e856fdc01 100644--- a/packages/hoppscotch-backend/src/errors.ts+++ b/packages/hoppscotch-backend/src/errors.ts@@ -155,6 +155,23 @@ export const TEAM_ENVIRONMMENT_NOT_FOUND =export const TEAM_ENVIRONMENT_NOT_TEAM_MEMBER ='team_environment/not_team_member' as const;+/*++/**+ * User history not found+ * (UserHistoryService)+ */+export const USER_HISTORY_NOT_FOUND = 'user_history/history_not_found' as const;++/*++/**+ * Invalid Request Type in History+ * (UserHistoryService)+ */+export const USER_HISTORY_INVALID_REQ_TYPE =+ 'user_history/req_type_invalid' as const;+/*|------------------------------------|