static bool Function(T) matcher<T>(String message) => (e) => e is ServerException && e.message == message;