{"id":71829,"library":"derive-error-chain","title":"derive-error-chain","description":"A Macros 1.1 implementation of the error-chain crate for deriving error types.","status":"active","version":"0.11.2","language":"rust","source_language":null,"source_url":"https://github.com/Arnavion/derive-error-chain","tags":["error-handling","derive","macros","legacy"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nderive-error-chain = \"0.11.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add derive-error-chain","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"ErrorChain","correct":"use derive_error_chain::ErrorChain;"}],"quickstart":{"code":"use derive_error_chain::ErrorChain;\n\n#[derive(ErrorChain)]\nstruct MyError;\n\nfn main() {\n    let _ = MyError;\n}","lang":"rust","description":"Derives the error-chain trait for a custom error type."},"warnings":[{"fix":"Use thiserror crate for simpler error derivation","message":"Deprecated in favor of thiserror or custom derive macros","severity":"gotcha","affected_versions":">=0.11.0"}],"env_vars":null,"search_vec":"'1.1':7 'chain':4,13 'crate':14 'deriv':2,16,22 'derive-error-chain':1 'error':3,12,17,20 'error-chain':11 'error-handl':19 'handl':21 'implement':8 'legaci':24 'macro':6,23 'type':18","created_at":"2026-06-17T18:31:59.623865+00:00","updated_at":"2026-06-17T18:31:59.623865+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Arnavion/derive-error-chain","github":"https://github.com/Arnavion/derive-error-chain","docs":"https://docs.rs/derive-error-chain/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}