java.lang.Object
overrungl.glfw.GLFWErrorCallback
The GLFW error callback creator.
- Since:
- 0.1.0
- Author:
- squid233
-
Method Summary
Modifier and TypeMethodDescriptionstatic IGLFWErrorFun
Returns aIGLFWErrorFun
instance that logs a message when an error occurs.static IGLFWErrorFun
Returns aIGLFWErrorFun
instance that prints a message todefault library logger
when an error occurs.static IGLFWErrorFun
createPrint
(PrintStream stream) Returns aIGLFWErrorFun
instance that prints a message when an error occurs.static IGLFWErrorFun
Returns aIGLFWErrorFun
instance that throws anIllegalStateException
when an error occurs.
-
Method Details
-
createThrow
Returns aIGLFWErrorFun
instance that throws anIllegalStateException
when an error occurs.- Returns:
- a
IGLFWErrorFun
instance that throws anIllegalStateException
when an error occurs
-
createLog
Returns aIGLFWErrorFun
instance that logs a message when an error occurs.- Parameters:
logger
- the logger function.- Returns:
- a
IGLFWErrorFun
instance that logs a message when an error occurs
-
createPrint
Returns aIGLFWErrorFun
instance that prints a message when an error occurs.- Parameters:
stream
- the logger stream.- Returns:
- a
IGLFWErrorFun
instance that prints a message when an error occurs - See Also:
-
createPrint
Returns aIGLFWErrorFun
instance that prints a message todefault library logger
when an error occurs.- Returns:
- a
IGLFWErrorFun
instance that prints a message todefault library logger
when an error occurs - See Also:
-