Move errors into OMPromise header