Exemple #1
0
        private FaunaException ConstructStreamingException(ObjectV value)
        {
            var code        = value.Get(CODE);
            var description = value.Get(DESCRIPTION);
            var queryError  = new QueryError(null, code, description, null);
            var response    = new QueryErrorResponse(500, new List <QueryError> {
                queryError
            });

            return(new StreamingException(response));
        }