#!/usr/bin/env python


class PreprocError(Exception):
    """Denotes an exception in the preprocessor"""

    def __init__(self, msg, lineno):
        self.message = msg
        self.lineno = lineno

    def __str__(self):
        return self.message
