syphon.utils.exceptions
1class SyphonException(Exception): 2 pass 3 4 5class NSOpenGLContextNotFoundException(SyphonException): 6 def __init__(self): 7 super(NSOpenGLContextNotFoundException, self).__init__("Could not get current NSOpenGLContext.") 8 9 10class CGLContextNotFoundException(SyphonException): 11 def __init__(self): 12 super(CGLContextNotFoundException, self).__init__("Could not get current CGLContextObj from NSOpenGLContext.")
class
SyphonException(builtins.Exception):
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- args
6class NSOpenGLContextNotFoundException(SyphonException): 7 def __init__(self): 8 super(NSOpenGLContextNotFoundException, self).__init__("Could not get current NSOpenGLContext.")
Common base class for all non-exit exceptions.
Inherited Members
- builtins.BaseException
- with_traceback
- args
11class CGLContextNotFoundException(SyphonException): 12 def __init__(self): 13 super(CGLContextNotFoundException, self).__init__("Could not get current CGLContextObj from NSOpenGLContext.")
Common base class for all non-exit exceptions.
Inherited Members
- builtins.BaseException
- with_traceback
- args