don't set an error for PN_OVERFLOW, this fixes PROTON-336, also fixed error accessors to be consistent