added NewFromError and renamed NewEVError to New