taichi.lang.exception

Module Contents

Functions

handle_exception_from_cpp(exc)

exception taichi.lang.exception.TaichiCompilationError

Bases: Exception

Common base class for all non-exit exceptions.

exception taichi.lang.exception.TaichiSyntaxError

Bases: TaichiCompilationError, SyntaxError

Common base class for all non-exit exceptions.

exception taichi.lang.exception.TaichiNameError

Bases: TaichiCompilationError, NameError

Common base class for all non-exit exceptions.

exception taichi.lang.exception.TaichiTypeError

Bases: TaichiCompilationError, TypeError

Common base class for all non-exit exceptions.

exception taichi.lang.exception.InvalidOperationError

Bases: Exception

Common base class for all non-exit exceptions.

taichi.lang.exception.handle_exception_from_cpp(exc)