[haiku-commits] Re: r42605 - haiku/trunk/src/kits/locale

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 09 Aug 2011 23:40:59 +0200

pulkomandy@xxxxxxxxxxxxxxxxx wrote:
> an error in ICU likely comes from bad input, so we could return 
> B_BAD_DATA 
> there. But there may be other problems. That's why right now it 
> returns 

That would be B_BAD_VALUE, not B_BAD_DATA.

> B_ERROR. It would be better to have a closer look at the ICU error 
> code, but 
> they don't map really well to Be ones, as they are specific to ICU 
> and the 
> way it handles data.

We're free to add new error codes as needed.

Bye,
   Axel.


Other related posts: