Exceptions module
Docstring for exceptions.py module
This module defines the BaseError
class which is the base class for all custom Errors in EinsteinPy, and the CoordinateError
class, which is a child class used for raising exceptions when the geometry does not support the supplied coordinate system.
-
exception
einsteinpy.utils.exceptions.
BaseError
(*args, **kwargs)[source]
Base class for custom errors
Constructor
Joins args
into a message
string
- Parameters
-
-
exception
einsteinpy.utils.exceptions.
CoordinateError
(*args, **kwargs)[source]
Error class for invalid coordinate operations
Constructor
Joins args
into a message
string
- Parameters
-