gstaichi.lang.exception#
Exceptions#
Base class for all compilation exceptions. |
|
Thrown when a syntax error is found during compilation. |
|
Thrown when an undefine name is found during compilation. |
|
Thrown when a type mismatch is found during compilation. |
|
Thrown when the compiled program cannot be executed due to unspecified reasons. |
|
Thrown when assertion fails at runtime. |
|
Thrown when the compiled program cannot be executed due to unspecified reasons. |
Module Contents#
- exception gstaichi.lang.exception.GsTaichiCompilationError[source]#
Bases:
ExceptionBase class for all compilation exceptions.
- exception gstaichi.lang.exception.GsTaichiSyntaxError[source]#
Bases:
GsTaichiCompilationError,SyntaxErrorThrown when a syntax error is found during compilation.
- exception gstaichi.lang.exception.GsTaichiNameError[source]#
Bases:
GsTaichiCompilationError,NameErrorThrown when an undefine name is found during compilation.
- exception gstaichi.lang.exception.GsTaichiTypeError[source]#
Bases:
GsTaichiCompilationError,TypeErrorThrown when a type mismatch is found during compilation.
- exception gstaichi.lang.exception.GsTaichiRuntimeError[source]#
Bases:
RuntimeErrorThrown when the compiled program cannot be executed due to unspecified reasons.
- exception gstaichi.lang.exception.GsTaichiAssertionError[source]#
Bases:
GsTaichiRuntimeError,AssertionErrorThrown when assertion fails at runtime.