SP/web2py/gluon/packages/dal/pydal/exceptions.py
Saturneic 064f602b1a Add.
2018-10-25 23:33:13 +08:00

17 lines
347 B
Python

# -*- 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)