Skip to content

Commit

Permalink
refactor: move DebugError, ParameterError, and ParserError to separat…
Browse files Browse the repository at this point in the history
…e module
  • Loading branch information
gnikit committed May 15, 2024
1 parent 3580286 commit 3f4b085
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions fortls/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3f4b085

Please sign in to comment.