return errors from process errors