Skip to content

DumpingError

Base classes

Name Children Inherits
Exception
builtins
Common base class for all non-exit exceptions.

⋔ Inheritance diagram

graph TD
  466020696["exceptions.DumpingError"]
  1615621424["builtins.Exception"]
  3224121899["builtins.BaseException"]
  2751680898["builtins.object"]
  1615621424 --> 466020696
  3224121899 --> 1615621424
  2751680898 --> 3224121899

🛈 DocStrings

Bases: Exception

Common exception for all dumping errors in configz.

Source code in src/configz/exceptions.py
1
2
3
4
5
6
class DumpingError(Exception):
    """Common exception for all dumping errors in configz."""

    def __init__(self, message: str, original_error: Exception | None = None) -> None:
        super().__init__(message)
        self.original_error = original_error

:fa-brands-github: Show source on GitHub