#7901: [patch] BLocale: B_ERROR gets returned from methods in the BLocale class ambiguously -------------------------------+---------------------------- Reporter: jscipione | Owner: pulkomandy Type: enhancement | Status: new Priority: normal | Milestone: Unscheduled Component: Kits/Locale Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------+---------------------------- Comment (by pulkomandy): Well, the error with the locking is not that you're not allowed to do somethig. It's that there's major failure in the locale kit code somewhere (and should never happen anyway). So we can just return B_ERROR in that case, as it's not going to happen that often. B_NOT_ALLOWED is not fitting, it would give the user a message like "permission denied", which isn't the problem here. -- Ticket URL: <http://dev.haiku-os.org/ticket/7901#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.