Coder Social home page Coder Social logo

Exceptions seem to lack information about mailio HOT 3 OPEN

tsilia avatar tsilia commented on May 13, 2024
Exceptions seem to lack information

from mailio.

Comments (3)

karastojko avatar karastojko commented on May 13, 2024 4

You are right, I will address the issue in the future.

from mailio.

firedaemon-cto avatar firedaemon-cto commented on May 13, 2024

In this sense I wonder what's the design decision behind catching asio (ssl) errors and rethrow them as mailio errors? Because asio is such a vital core part of the communication layer, we definitely need the underlying communication error.
I personally would let asio errors through to the caller, as they are std::system_errors these days anyway.

from mailio.

karastojko avatar karastojko commented on May 13, 2024

It was meant to move them away as low level errors. But from your and some other comments, I see there is a need to trace these errors as well the errors received from servers. Thus, I plan to extend the mailio exceptions with these additional data. In this version I am dealing with the various encoding issues, so probably I'll let the error handling for the next version.

from mailio.

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.