Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Openjdk/test/jdk/jdk/nio/zipfs/   (Sun/Oracle ©)  Datei vom 13.11.2022 mit Größe 516 B image not shown  

Quelle  errors.py   Sprache: unbekannt

 
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


class LintException(Exception):
    pass


class LinterNotFound(LintException):
    def __init__(self, path):
        LintException.__init__(self, f"Could not find lint file '{path}'")


class NoValidLinter(LintException):
    def __init__(self):
        LintException.__init__(
            self,
            "Invalid linters given, run again using valid linters or no linters",
        )


class LinterParseError(LintException):
    def __init__(self, path, message):
        LintException.__init__(self, f"{path}: {message}")


class LintersNotConfigured(LintException):
    def __init__(self):
        LintException.__init__(
            self,
            "No linters registered! Use `LintRoller.read` to register a linter.",
        )

Messung V0.5 in Prozent
C=89 H=95 G=91

[Dauer der Verarbeitung: 0.15 Sekunden, vorverarbeitet 2026-08-26]