Source code for pywebio.exceptions

"""
pywebio.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of PyWebIO's exceptions.
"""


[docs]class SessionException(Exception): """Base class for PyWebIO session related exceptions"""
[docs]class SessionClosedException(SessionException): """The session has been closed abnormally"""
[docs]class SessionNotFoundException(SessionException): """Session not found"""
[docs]class PyWebIOWarning(UserWarning): pass