Source code for decaylanguage.utils.errors

# Copyright (c) 2018-2026, Eduardo Rodrigues and Henry Schreiner.
#
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
# or https://github.com/scikit-hep/decaylanguage for details.


from __future__ import annotations


[docs] class LineFailure(RuntimeError): def __init__(self, line: str, message: str) -> None: super().__init__(f"{line}: {message}")