RFC: Composite pattern for error data structures

could this be a way to go? 
We might have to rethink public/private visibility but with this pattern, almost anything is possible at the client side, i think.