{"id":17014288,"url":"https://github.com/wyatt-herkamp/this_actix_errors","last_synced_at":"2025-03-22T14:40:20.812Z","repository":{"id":98481393,"uuid":"520650983","full_name":"wyatt-herkamp/this_actix_errors","owner":"wyatt-herkamp","description":"Generate an Actix Error Handler with Macros","archived":false,"fork":false,"pushed_at":"2024-11-07T12:48:13.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T13:50:26.189Z","etag":null,"topics":["actix","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wyatt-herkamp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-02T21:12:30.000Z","updated_at":"2024-11-07T12:48:10.000Z","dependencies_parsed_at":"2024-11-07T13:36:44.257Z","dependency_job_id":"e21e6edb-01b8-4d7d-ac5b-ffebe8a985c8","html_url":"https://github.com/wyatt-herkamp/this_actix_errors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyatt-herkamp%2Fthis_actix_errors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyatt-herkamp%2Fthis_actix_errors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyatt-herkamp%2Fthis_actix_errors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyatt-herkamp%2Fthis_actix_errors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wyatt-herkamp","download_url":"https://codeload.github.com/wyatt-herkamp/this_actix_errors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973701,"owners_count":20541021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actix","rust"],"created_at":"2024-10-14T06:24:33.052Z","updated_at":"2025-03-22T14:40:20.781Z","avatar_url":"https://github.com/wyatt-herkamp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# this_actix_error\n\nExample Usage\n\nI recommend pairing this macro with [ThisError](https://github.com/dtolnay/thiserror)\n\n```rust\n#[derive(Error, Debug, ActixError)]\npub enum WebError {\n    /// Has the Error Message Defined through ThisError, A Status code and a message used by ActixError\n    #[status_code(500)]\n    #[message(\"An Internal Error Occured\")]\n    #[error(\"Failed to read {0}\")]\n    Io(#[from] std::io::Error),\n    /// Uses the Error Message Defined through ThisError, A Status code used by ActixError\n    #[status_code(500)]\n    #[error(\"Test Error\")]\n    Test,\n    /// Same as the above but uses a Ident for the Status_code\n    #[status_code(BAD_REQUEST)]\n    #[error(\"Bad Request\")]\n    Two,\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyatt-herkamp%2Fthis_actix_errors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwyatt-herkamp%2Fthis_actix_errors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyatt-herkamp%2Fthis_actix_errors/lists"}