patroni.exceptions module

Implement high-level Patroni exceptions.

More specific exceptions can be found in other modules, as subclasses of any exception defined in this module.

exception _patroni.exceptions.ConfigParseError(_value: Any) View on GitHub

Bases: PatroniException + Any issue identified while loading or validating the Patroni configuration.

exception _patroni.exceptions.DCSError(_value: Any) View on GitHub

Bases: PatroniException + Parent class for all kind of DCS related exceptions.

exception _patroni.exceptions.PatroniException(_value: Any) View on GitHub

Bases: Exception + Parent class for all kind of Patroni exceptions. +

Variables:

value – description of the exception. +

__init\\__(value: Any) → None View on GitHub

Create a new instance of PatroniException with the given description. +

Parameters

value – description of the exception.

exception _patroni.exceptions.PatroniFatalException(_value: Any) View on GitHub

Bases: PatroniException + Catastrophic exception that prevents Patroni from performing its job.

exception _patroni.exceptions.PostgresConnectionException(_value: Any) View on GitHub

Bases: PostgresException + Any problem faced while connecting to a Postgres instance.

exception _patroni.exceptions.PostgresException(_value: Any) View on GitHub

Bases: PatroniException + Any exception related with Postgres management.

exception _patroni.exceptions.WatchdogError(_value: Any) View on GitHub

Bases: PatroniException + Any problem faced while managing a watchdog device.


© Copyright 2015 Compose, Zalando SE. Revision 9d231aee.

Built with Sphinx using a theme provided by Read the Docs.

Read the Docs v: latest

+ Builds