Add better error handling for locate_dofs_topological
#4033
+26
−5
locate_dofs_topological
#4033