From 3f4b08560d84a6581e78ae1b94f9b66e90540642 Mon Sep 17 00:00:00 2001 From: gnikit Date: Wed, 15 May 2024 19:57:39 +0100 Subject: [PATCH] refactor: move DebugError, ParameterError, and ParserError to separate module --- fortls/debug.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/fortls/debug.py b/fortls/debug.py index 3e8dbc07..365c21bc 100644 --- a/fortls/debug.py +++ b/fortls/debug.py @@ -11,15 +11,7 @@ from .helper_functions import only_dirs, resolve_globs from .jsonrpc import JSONRPC2Connection, ReadWriter, path_from_uri from .langserver import LangServer -from .parsers.internal.parser import FortranFile, ParserError, preprocess_file - - -class DebugError(Exception): - """Base class for debug CLI.""" - - -class ParameterError(DebugError): - """Exception raised for errors in the parameters.""" +from .parsers.internal.parser import FortranFile, preprocess_file def is_debug_mode(args):