Source code for posty.exceptions
[docs]class InvalidConfig(PostyError):
def __init__(self, config_obj, reason):
msg = 'Invalid config at {}. Reason: {}'.format(
config_obj.path,
reason
)
super(self.__class__, self).__init__(msg)