Should not pass Error objects for later throw
Bug #867008 reported by
Paul J. Lucas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Nicolae Brinza |
Bug Description
The function checkNamespaceC
Therefore, I suggest changing the signature of the function to NOT take an error and instead simply return a bool as to whether there is a conflict. If there is, the calling code should throw an exception itself.
tags: | removed: simple-store |
To post a comment you must log in.
A similar signature change is strongly recommended for the bind_ns() function on the static context.