Simplify error handling

This work partially reverts an earlier contribution and makes errors show the human readable message by default. The error code map field C is promoted to be exported for those who want error minutiae.