verify-server: support comparing errors