mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
20 lines
517 B
Python
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)
|