Re: [Boost-bugs] [Boost C++ Libraries] #3694: First letter of error messages should be in uppercase

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3694: First letter of error messages should be in uppercase
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-06 15:42:56


#3694: First letter of error messages should be in uppercase
--------------------------------------------------+-------------------------
 Reporter: Vadim Guchenko <techmsgs@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: program_options
  Version: Boost 1.40.0 | Severity: Cosmetic
 Keywords: |
--------------------------------------------------+-------------------------

Comment(by s_ochsenknecht):

 At [http://www.boost.org/community/error_handling.html Error and Exception
 handling] you can find a guideline on how exceptions should be used within
 boost libraries.

 Specially point 5 says:

 5. *Don't worry too much about the what() message*. It's nice to have a
 message that a programmer stands a chance of figuring out, but you're very
 unlikely to be able to compose a relevant and user-comprehensible error
 message at the point an exception is thrown. Certainly,
 internationalization is beyond the scope of the exception class author.
 Peter Dimov makes an excellent argument that the proper use of a what()
 string is to serve as a key into a table of error message formatters. Now
 if only we could get standardized what() strings for exceptions thrown by
 the standard library...

 In my opinion it is quite hard to fit all user needs regarding to the
 messages what() produces. So, maybe the next ticket occurs which says
 "please, first letter should be lowercase".
 You get a message and you can use it, but you also have the possibility to
 format your own one. Its up to you.

 Anyhow, this is a general topic and maybe it is something for the mailing
 list.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3694#comment:7>
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:50:02 UTC