_exceptions.py
changeset 3072 6fb42c53f6df
parent 3042 d2455badf7fb
child 3162 d6ae24439bee
equal deleted inserted replaced
3035:2e4a381ea5b7 3072:6fb42c53f6df
    63 
    63 
    64 class ETypeNotSupportedBySources(RepositoryError, InternalError):
    64 class ETypeNotSupportedBySources(RepositoryError, InternalError):
    65     """no source support an entity type"""
    65     """no source support an entity type"""
    66     msg = 'No source supports %r entity\'s type'
    66     msg = 'No source supports %r entity\'s type'
    67 
    67 
    68 class RTypeNotSupportedBySources(RepositoryError, InternalError):
    68 class MultiSourcesError(RepositoryError, InternalError):
    69     """no source support a relation type"""
    69     """usually due to bad multisources configuration or rql query"""
    70     msg = 'No source supports %r relation\'s type'
       
    71 
    70 
    72 
    71 
    73 # security exceptions #########################################################
    72 # security exceptions #########################################################
    74 
    73 
    75 class Unauthorized(SecurityError):
    74 class Unauthorized(SecurityError):