From c3baa78c50cd0f58d37af74417bc17c126ed0f3d Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Mon, 22 Jan 2024 16:39:05 +0800 Subject: :sparkles: feat(exception): new exception LockLoadFailed --- src/ipm/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/ipm/exceptions.py b/src/ipm/exceptions.py index b19b60c..e57f6cd 100644 --- a/src/ipm/exceptions.py +++ b/src/ipm/exceptions.py @@ -10,6 +10,10 @@ class TomlLoadFailed(FileException): """Failed to load `infini.toml`""" +class LockLoadFailed(FileException): + """Failed to load `infini.lock`""" + + class FileNotFoundError(FileException, FileNotFoundError): """Raises when file not founded""" -- cgit v1.2.3-70-g09d2