_exceptions.py
branch3.5
changeset 3042 d2455badf7fb
parent 2850 92032ede5ae7
child 3162 d6ae24439bee
equal deleted inserted replaced
3041:782fa7566a22 3042:d2455badf7fb
    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):