diff --git a/warp/sim/utils.py b/warp/sim/utils.py index 3ee957200..be4ee4fa0 100644 --- a/warp/sim/utils.py +++ b/warp/sim/utils.py @@ -311,7 +311,7 @@ def load_mesh(filename: str, method: str = None): import os if not os.path.exists(filename): - raise ValueError(f"File not found: {filename}") + raise FileNotFoundError(f"File not found: {filename}") def load_mesh_with_method(method): if method == "meshio":