Giter Site home page Giter Site logo

Comments (4)

amro avatar amro commented on August 20, 2024

Hi Kasper. I am certainly up for improving this.

When you say more sensible, do you mean you want the error code to be an attribute of the exception that's raised? Or do you want that attribute to be a symbol instead of the error code itself? The later would require a big ugly map but might make using Gibbon a little more nicer from a semantic standpoint.

from gibbon.

kaspergrubbe avatar kaspergrubbe commented on August 20, 2024

As long as I can get the error code out nicely from the exception, so I can ignore 214 errros, I am a happy camper.

I would expect the second solution that you mention to be a bigger project.

Thank you, for your quick reply.

from gibbon.

amro avatar amro commented on August 20, 2024

Thanks for the helpful feedback. Version 0.4.6 has been released. There's now a code attribute on Gibbon::MailChimpError that returns the error code.

from gibbon.

kaspergrubbe avatar kaspergrubbe commented on August 20, 2024

Thanks, awesome! 👍

from gibbon.

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.