Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2821: Can not define custom description for boost::error_info
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-26 01:40:54
#2821: Can not define custom description for boost::error_info
---------------------------------------+------------------------------------
Reporter: paul.kolomiets_at_[hidden] | Owner: emildotchevski
Type: Patches | Status: closed
Milestone: To Be Determined | Component: exception
Version: Boost 1.38.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------------------+------------------------------------
Changes (by emildotchevski):
* status: new => closed
* resolution: => wontfix
Comment:
This is by design: error_as_string is an implementation detail. The formal
documentation for error_info is here:
http://www.boost.org/doc/libs/release/libs/exception/doc/error_info.html.
The latest version supports what you want in a different way; for example
error_info<tag_foo_error,int> can be printed differently from
error_info<tag_bar_error,int> by diagnostic_information. See
http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_information.html
for details.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2821#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC