Skip to content

Simplify API error mgmt #1867

Description

@bkis

Draft:

  • get rid of pre-defined errors
  • have one fn errors.e(http_code: int, identifier: str | None = None, message: str | None = None) with identifier being the string that's recognized by the client to show the correct translated error message

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions