lemmy/crates
Nutomic 93225e5ddf
Error enum fixed (#3487)
* Create error type enum

* Replace magic string slices with LemmyErrorTypes

* Remove unused enum

* Add rename snake case to error enum

* Rename functions

* clippy

* Fix merge errors

* Serialize in PascalCase instead of snake_case

* Revert src/lib

* Add serialization tests

* Update translations

* Fix compilation error in test

* Fix another compilation error

* Add code for generating typescript types

* Various fixes to avoid breaking api

* impl From<LemmyErrorType> for LemmyError

* with_lemmy_type

* trigger ci

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-10 16:50:07 +02:00
..
api Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
api_common Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
api_crud Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
apub Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
db_schema Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
db_views Revert "Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497)" (#3521) 2023-07-07 11:29:07 +02:00
db_views_actor Revert "Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497)" (#3521) 2023-07-07 11:29:07 +02:00
db_views_moderator Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
routes Item URL should point to post URL (#3345) 2023-06-26 15:11:16 +02:00
utils Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00