Skip to content

Commit 54013b6

Browse files
committed
Update error mappings to reflect new regex/levenshtein crates
1 parent 8e14625 commit 54013b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust_fst/lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def find_library():
4545
'std::io::Error': OSError,
4646
'fst::Error': FstError,
4747
'fst::Error::Fst': TransducerError,
48-
'fst::Error::Regex': RegexError,
49-
'fst::Error::Levenshtein': LevenshteinError,
48+
'fst_regex::Error': RegexError,
49+
'fst_levenshtein::Error': LevenshteinError,
5050
'fst::Error::Io': IoError,
5151
'py::KeyError': KeyError
5252
}

0 commit comments

Comments
 (0)