lemmy/crates/api/src/local_user
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
..
notifications Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
add_admin.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
ban_person.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
block.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
change_password.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
change_password_after_reset.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
get_captcha.rs Fix concatenation of audio captcha wav files (#3350) 2023-06-30 12:36:38 +02:00
list_banned.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
login.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
mod.rs feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
report_count.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
reset_password.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
save_settings.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
verify_email.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00