SP/web2py/gluon/packages/dal/pydal/exceptions.py

17 lines
347 B
Python
Raw Permalink Normal View History

2018-10-25 15:33:07 +00:00
# -*- coding: utf-8 -*-
class NotFoundException(Exception):
pass
class NotAuthorizedException(Exception):
pass
class NotOnNOSQLError(NotImplementedError):
def __init__(self, message=None):
if message is None:
message = "Not Supported on NoSQL databases"
super(NotOnNOSQLError, self).__init__(message)