// SPDX-License-Identifier: BSD-2-Clause // Copyright CM4all GmbH // author: Max Kellermann #pragma once #include struct AvahiClient; namespace Avahi { class ErrorHandler { public: /** * @return true to keep retrying, false if the failed object * has been disposed */ virtual bool OnAvahiError(std::exception_ptr e) noexcept = 0; }; } // namespace Avahi