-
Notifications
You must be signed in to change notification settings - Fork 0
CLGEException [clge]
Richel Bilderbeek edited this page Feb 17, 2018
·
2 revisions
The CLGEExceptions class is a custom Exception class
[RJCB: remove]
from clge import CLGEException
raise CLGEException("Example Exception")
[RJCB: remove]
There are no functions
[RJCB: No need to show an example how to trigger an exception :-) ]
This:
from clge import CLGEException
raise CLGEException("Example Exception")
print("No exception")
Will end the program with this output:
Example Exception
Made by Rafayel Gardishyan. CLGE is an Open Source Game Engine. You can use it everywhere