maestro-server/report-app

View on GitHub
app/error/missingError.py

Summary

Maintainability
A
0 mins
Test Coverage
D
66%
class Error(Exception):
    """Base class for exceptions in this module."""
    pass


class MissingError(Error):
    """Exception raised for errors in the input.

    Attributes:
        expr -- input expression in which the error occurred
        msg  -- explanation of the error
    """

    def __init__(self, expr, msg):
        self.expr = expr
        self.msg = msg