LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.28k stars 884 forks source link

Make a string-based federation error, so that they don't have to be translated. #4926

Closed dessalines closed 2 weeks ago

dessalines commented 3 months ago

Requirements

Is your proposal related to a problem?

There are many error types in LemmyErrorType which aren't displayed to the user, only in console logs, such as the federation-specific errors. Its pointless to translate them, since they aren't shown in UIs.

Describe the solution you'd like.

Go through the federation code and change the errors to a single string-type one.

Describe alternatives you've considered.

NA

Additional context

https://github.com/LemmyNet/lemmy/pull/4922#discussion_r1696571670