Skip to content

Commit 3f4b085

Browse files
committed
refactor: move DebugError, ParameterError, and ParserError to separate module
1 parent 3580286 commit 3f4b085

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

fortls/debug.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@
1111
from .helper_functions import only_dirs, resolve_globs
1212
from .jsonrpc import JSONRPC2Connection, ReadWriter, path_from_uri
1313
from .langserver import LangServer
14-
from .parsers.internal.parser import FortranFile, ParserError, preprocess_file
15-
16-
17-
class DebugError(Exception):
18-
"""Base class for debug CLI."""
19-
20-
21-
class ParameterError(DebugError):
22-
"""Exception raised for errors in the parameters."""
14+
from .parsers.internal.parser import FortranFile, preprocess_file
2315

2416

2517
def is_debug_mode(args):

0 commit comments

Comments
 (0)