Endpoints faulire ENUMs
Closed this issue · 0 comments
hellsayenci commented
In the current code, failures codes hard-coded in the endpoints. Ex, Ex
Error codes should be imported from another generic class.
Ex.
import .utils.error_codes
code = error_codes.INVALID_CREDENTIALS
Enums are located in this package.
Feel free to add new ENUMS if needed for clarification.