lemmy/crates/utils/src
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
..
rate_limit Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
settings Add Prometheus endpoint (#3456) 2023-07-05 13:25:19 +02:00
utils Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
apub.rs Fixing .drone.yml (#2677) 2023-01-30 14:17:24 -05:00
claims.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
email.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
error.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
lib.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
main.rs Adjust the config check to be a separate faster to compile binary (#3313) 2023-06-26 06:23:21 -04:00
request.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
version.rs For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00