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