Skip to content

API error system #23

Description

@ISibboI

Do not return internal errors via the API, but manually convert them to something that does not leak information but can be sent to the user.

  • Have an error counter and assign each error a unique number. That number gets logged together with the error, and also returned to the user. Then a user can provide information about the error using the error number.
  • Report API user errors in the answer of the API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions