pyccl.errors module
- exception pyccl.errors.CCLError[source]
Bases:
RuntimeErrorA CCL-specific RuntimeError
- exception pyccl.errors.CCLWarning[source]
Bases:
RuntimeWarningA CCL-specific warning
- exception pyccl.errors.CCLDeprecationWarning[source]
Bases:
DeprecationWarningA CCL-specific deprecation warning.
- pyccl.errors.update_warning_verbosity(verbosity)[source]
Update the level of verbosity of the CCL warnings. Available levels are “none”, “low”, and “high”. More warning messages will be output for higher verbosity levels. If “none”, no CCL-level warnings will be shown. The default verbosity is “low”. Note that unless the verbosity level is “high”, all C-level warnings will be omitted.
- Parameters:
verbosity (str) – one of
'none','low'or'high'.