Review main Merged

76974[TASK] Align error responses in ReactionResolver

Oli Bartsch CR +2 V +2 Easy +19 −13 updated 12/12/22, 09:56

Commit message

Error responses now use the same format in
ReactionResolver as well as in the reaction.

Additionally, a new method allows to cleanup
some duplicated code and the default status
code is 400, since 503 indicates a server error,
which is not the case for the current errors. All
of them are client errors: wrong identifier, invalid
payload, etc...

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 1