pyg4ometry.exceptions¶
Exceptions¶
Null Mesh exception. Should be raised when the output of |
|
Exception for trying to add the same name to the geant4 registry. |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
Module Contents¶
- exception pyg4ometry.exceptions.NullMeshError(arg)¶
Bases:
ExceptionNull Mesh exception. Should be raised when the output of mesh.toPolygons evaluates to the empty list. arg can be a user-provided message (string), or a SolidBase-derived instance.
- exception pyg4ometry.exceptions.IdenticalNameError(name, nametype=None)¶
Bases:
ExceptionException for trying to add the same name to the geant4 registry.
- Parameters:
- name¶
- nametype¶