HorizonError

class petres.errors.HorizonError[source]

Bases: PetresError

Represent errors raised during horizon operations.

Use this exception to distinguish horizon-specific failures from other domain errors and handle them consistently.

Initialize the error and format the active message template.

default_message: str = 'An error occurred related to horizon operations.'