Files
pipenv/pipenv/vendor/dparse/errors.py
T
2022-10-02 23:58:38 +02:00

20 lines
517 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
class UnknownDependencyFileError(Exception):
"""
"""
def __init__(self, message="Unknown File type to parse"):
self.message = message
super().__init__(self.message)
class MalformedDependencyFileError(Exception):
def __init__(self, message="The dependency file is malformed. {info}",
info=""):
self.message = message.format(info=info)
super().__init__(self.message)