Source code for ftrack_connect.error

# :coding: utf-8
# :copyright: Copyright (c) 2014 ftrack


[docs]class ConnectError(Exception): '''Base ftrack connect error.''' pass
[docs]class NotUniqueError(ConnectError): '''Raise when something that should be unique is not.'''
[docs]class InvalidStateError(ConnectError): '''Raise when an invalid state is detected for current action.'''
[docs]class ParseError(ConnectError): '''Raise when a parsing action fails.'''
[docs]class CrewSessionError(ConnectError): '''Raise when error with session in crew occurs.'''