From: Wolfgang Bangerth Date: Fri, 10 Mar 2023 21:25:35 +0000 (-0700) Subject: Minor improvement to an error message about an unsupported case. X-Git-Tag: v9.5.0-rc1~496^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14875%2Fhead;p=dealii.git Minor improvement to an error message about an unsupported case. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 6b54f851b1..8365a7b105 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -5481,7 +5481,9 @@ namespace DataOutBase { AssertThrow(std::get<3>(nonscalar_data_range) != DataComponentInterpretation::component_is_part_of_tensor, - ExcNotImplemented()); + ExcMessage( + "The VTK writer does not currently support outputting " + "tensor data. Use the VTU writer instead.")); AssertThrow(std::get<1>(nonscalar_data_range) >= std::get<0>(nonscalar_data_range),