Source code for pyccl.errors

[docs]class CCLError(RuntimeError): """A CCL-specific RuntimeError""" def __repr__(self): return 'pyccl.CCLError(%r)' % (str(self)) def __eq__(self, other): return repr(self) == repr(other) def __hash__(self): return hash(repr(self))