# -*- coding: utf-8 -*-
"""
perforce.errors
~~~~~~~~~~~~~~~
This module implements the Exceptions raised
:copyright: (c) 2015 by Brett Dixon
:license: MIT, see LICENSE for more details
"""
class Error(Exception):
pass
[docs]class CommandError(Exception):
"""Errors that occur while running a command"""
[docs]class ChangelistError(Exception):
"""Errors that occur in a Changelist"""
[docs]class ShelveError(Exception):
"""Errors that occur when shelving/unshelving a file revision"""
[docs]class RevisionError(Exception):
"""Errors that occur on a file revision"""
[docs]class ConnectionError(Exception):
"""Errors that occurred with the connection"""