{"id":4036570,"name":"custom_error","ecosystem":"cargo","description":"Define custom errors without boilerplate using the custom_error! macro.","homepage":"https://github.com/lovasoa/custom_error","licenses":"BSD-2-Clause","normalized_licenses":["BSD-2-Clause"],"repository_url":"https://github.com/lovasoa/custom_error","keywords_array":["macro","error","failure"],"namespace":null,"versions_count":17,"first_release_published_at":"2018-11-01T22:27:48.055Z","latest_release_published_at":"2021-04-11T19:24:51.060Z","latest_release_number":"1.9.2","last_synced_at":"2026-09-08T11:27:46.343Z","created_at":"2022-04-12T09:19:50.596Z","updated_at":"2026-09-08T11:27:46.343Z","registry_url":"https://crates.io/crates/custom_error/","install_command":"cargo install custom_error","documentation_url":"https://docs.rs/custom_error/","metadata":{"categories":["encoding","development-tools","rust-patterns"]},"repo_metadata":{"id":52974035,"uuid":"155780049","full_name":"lovasoa/custom_error","owner":"lovasoa","description":"Define custom errors without boilerplate using the custom_error! macro.","archived":false,"fork":false,"pushed_at":"2021-04-11T19:24:04.000Z","size":66,"stargazers_count":74,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-11T15:04:14.441Z","etag":null,"topics":["error-handling","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/custom_error","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovasoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-01T21:49:13.000Z","updated_at":"2025-10-06T04:16:01.000Z","dependencies_parsed_at":"2022-09-04T07:21:54.957Z","dependency_job_id":null,"html_url":"https://github.com/lovasoa/custom_error","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lovasoa/custom_error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/sbom","scorecard":{"id":599837,"data":{"date":"2025-08-11","repo":{"name":"github.com/lovasoa/custom_error","commit":"7ba39a74ac106a516db32eb8c8c13a5d7d97ee7f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/lovasoa/custom_error/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/lovasoa/custom_error/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/lovasoa/custom_error/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/lovasoa/custom_error/rust.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T00:08:15.031Z","repository_id":52974035,"created_at":"2025-08-21T00:08:15.031Z","updated_at":"2025-08-21T00:08:15.031Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37139978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-07T02:00:07.396Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"lovasoa","name":"Ophir LOJKINE","uuid":"552629","kind":"user","description":"Senior Software engineer @DataDog, ex-@Qwant, ex-@enexflow, ex-@Uplight-Inc ","email":"","website":"ophir.dev","location":"Paris, France","twitter":"ophir_dev","company":"@datadog","icon_url":"https://avatars.githubusercontent.com/u/552629?u=3b5257f8d20ea6c313ed91ba80c024c3f00cf5dc\u0026v=4","repositories_count":362,"last_synced_at":"2026-09-01T01:18:22.720Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/lovasoa","funding_links":["https://github.com/sponsors/lovasoa"],"total_stars":8742,"followers":648,"following":18,"created_at":"2022-11-02T16:52:07.043Z","updated_at":"2026-09-01T01:18:22.782Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa/repositories"},"tags":[{"name":"v1.9.2","sha":"b831851d6e113201016b594757aa8974ac2f1581","kind":"tag","published_at":"2021-04-11T19:19:39.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.9.2","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.9.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.9.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.2/manifests"},{"name":"v1.9.1","sha":"3ec39f5bf60cf86bd7f1cf975aac76e988f9a7bd","kind":"tag","published_at":"2021-04-08T16:10:18.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.9.1","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.9.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.9.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.1/manifests"},{"name":"v1.9.0","sha":"69971abf77c3aa6f90c8992ba18c2cfbdba5bfd9","kind":"tag","published_at":"2021-04-08T15:53:28.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.9.0","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.9.0/manifests"},{"name":"v1.8.0","sha":"d60707fd4a1bd71876e7a5c7e80fbc4f8f4a64e5","kind":"tag","published_at":"2020-09-15T19:57:25.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.8.0","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.8.0/manifests"},{"name":"v1.7.1","sha":"d55faa97ae200255002a610f0da246dc110f50ae","kind":"tag","published_at":"2019-07-30T13:52:08.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.7.1","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.7.1/manifests"},{"name":"v1.7.0","sha":"0a35e86a2ceba2ccc197a31ff565b9d9f59056bc","kind":"tag","published_at":"2019-07-29T13:19:04.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/v1.7.0","html_url":"https://github.com/lovasoa/custom_error/releases/tag/v1.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@v1.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/v1.7.0/manifests"},{"name":"1.4.0","sha":"89d8f7fd3cfc08564774569d550fdfeaeaa996d4","kind":"commit","published_at":"2019-02-15T17:05:39.000Z","download_url":"https://codeload.github.com/lovasoa/custom_error/tar.gz/1.4.0","html_url":"https://github.com/lovasoa/custom_error/releases/tag/1.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lovasoa/custom_error@1.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/tags/1.4.0/manifests"}]},"repo_metadata_updated_at":"2026-09-07T20:44:45.255Z","dependent_packages_count":84,"downloads":680480,"downloads_period":"total","dependent_repos_count":95,"rankings":{"downloads":4.219013129461558,"dependent_repos_count":3.592510881879435,"dependent_packages_count":0.6625181652196594,"stargazers_count":15.243270642783132,"forks_count":19.8301043219076,"docker_downloads_count":null,"average":8.709483428250277},"purl":"pkg:cargo/custom_error","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/custom_error","docker_dependents_count":1,"docker_downloads_count":25,"usage_url":"https://repos.ecosyste.ms/usage/cargo/custom_error","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/custom_error/dependencies","status":null,"funding_links":["https://github.com/sponsors/lovasoa"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-30T01:17:53.916Z","issues_count":41,"pull_requests_count":16,"avg_time_to_close_issue":2218081.870967742,"avg_time_to_close_pull_request":601413.3125,"issues_closed_count":31,"pull_requests_closed_count":16,"pull_request_authors_count":6,"issue_authors_count":18,"avg_comments_per_issue":3.4878048780487805,"avg_comments_per_pull_request":2.375,"merged_pull_requests_count":16,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fcustom_error/issues","maintainers":[{"login":"lovasoa","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/lovasoa"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/custom_error/codemeta","maintainers":[{"uuid":"31102","login":"lovasoa","name":"Ophir LOJKINE","email":null,"url":"https://github.com/lovasoa","packages_count":23,"html_url":"https://crates.io/users/lovasoa","role":null,"created_at":"2022-11-07T18:17:42.492Z","updated_at":"2022-11-07T18:17:42.492Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/lovasoa/packages"}]}