Add better error handling for locate_dofs_topological
#4033
+21
−0
locate_dofs_topological
#4033