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:
Exception
Base class for all compilation exceptions.
- exception gstaichi.lang.exception.GsTaichiSyntaxError[source]#
Bases:
GsTaichiCompilationError
,SyntaxError
Thrown when a syntax error is found during compilation.
- exception gstaichi.lang.exception.GsTaichiNameError[source]#
Bases:
GsTaichiCompilationError
,NameError
Thrown when an undefine name is found during compilation.
- exception gstaichi.lang.exception.GsTaichiTypeError[source]#
Bases:
GsTaichiCompilationError
,TypeError
Thrown when a type mismatch is found during compilation.
- exception gstaichi.lang.exception.GsTaichiRuntimeError[source]#
Bases:
RuntimeError
Thrown when the compiled program cannot be executed due to unspecified reasons.
- exception gstaichi.lang.exception.GsTaichiAssertionError[source]#
Bases:
GsTaichiRuntimeError
,AssertionError
Thrown when assertion fails at runtime.