lemmy/crates/api_crud/src/site
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
..
create.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
mod.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
read.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
update.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00