CURVE: Implement server-side ERROR handling