Skip to content

Commit c2d53bf

Browse files
fix: turn FileOrDirectoryNotFoundError into WorkflowError
1 parent 6a18a2d commit c2d53bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

snakemake_interface_storage_plugins/exceptions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
from pathlib import Path
22
from typing import Optional
33

4+
from snakemake_interface_common.exceptions import WorkflowError
45

5-
class FileOrDirectoryNotFoundError(Exception):
6+
7+
class FileOrDirectoryNotFoundError(WorkflowError):
68
def __init__(self, local_path: Path, query: Optional[str]):
79
self.query: Optional[str] = query
810
self.local_path: Path = local_path

0 commit comments

Comments
 (0)