[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-development
Subject: [haiku-development] Re: Haiku Netservices API v2 proposal with exceptions for error handling
From: "X512" <dmarc-noreply () freelists ! org> ("danger_mail")
Date: 2021-09-07 22:58:40
Message-ID: 9bddfc80-85d8-3f3f-9601-943f57a00d8a () list ! ru
[Download RAW message or body]
On 2021/09/04 20:08, Niels Sascha Reedijk wrote:
> * I think rich error objects are preferred to status_t or equivalent
> generic errors. Independent of the error mechanism, it does make sense
> to add more information about errors, and to use the C++ type system
> to make that flexible.
It will be also nice to have one common exception class for status_t so
status_t can be converted to an exception and back in compatible way.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic