Unify errors returned