Giter Site home page Giter Site logo

Comments (4)

reuvenpo avatar reuvenpo commented on June 17, 2024

I hate to be the necromancer, but... Will this ever be implemented?

from derive-error-chain.

Arnavion avatar Arnavion commented on June 17, 2024

Not by me.

  • error-chain itself has been abandoned (again).

  • Most new users don't know derive-error-chain exists, so they compare error-chain with failure and go with failure (and rightly so).

  • derive-error-chain has a disadvantage with respect to needing to keep the backtrace attr in sync with error-chain's backtrace feature, which causes all sorts of problems. failure's design of requiring explicit backtraces or using Context doesn't have that problem, which is why at least one of the original users of derive-error-chain moved to it.

  • Even for my own projects, I've dropped derive-error-chain for manual enums or failure.

So I don't really care to continue working on this any more. If someone makes a PR I'll be happy to merge it.

from derive-error-chain.

reuvenpo avatar reuvenpo commented on June 17, 2024

I see. Thanks for your reply!

This will probably be off topic, but given the flux in the error-handling ecosystem right now, which crate would you recommend using, if any? I understand that failure mostly exists to experiment, and might not exist in the future too. I used to think that error-chain was the way to go, but now there isn't any one crate that looks like a clear default.

from derive-error-chain.

Arnavion avatar Arnavion commented on June 17, 2024

failure is fine for now.

from derive-error-chain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.