cluck 1.0.1
The cluster lock service.
exception.h
Go to the documentation of this file.
1// Copyright (c) 2016-2025 Made to Order Software Corp. All Rights Reserved
2//
3// This program is free software: you can redistribute it and/or modify
4// it under the terms of the GNU General Public License as published by
5// the Free Software Foundation, either version 3 of the License, or
6// (at your option) any later version.
7//
8// This program is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11// GNU General Public License for more details.
12//
13// You should have received a copy of the GNU General Public License
14// along with this program. If not, see <https://www.gnu.org/licenses/>.
15#pragma once
16
17// libexcept
18//
19#include <libexcept/exception.h>
20
21
22
23namespace cluck
24{
25
26
27DECLARE_LOGIC_ERROR(logic_error); // LCOV_EXCL_LINE
28DECLARE_LOGIC_ERROR(unexpected_case);
30
31DECLARE_MAIN_EXCEPTION(cluck_exception);
32
33DECLARE_EXCEPTION(cluck_exception, busy);
34DECLARE_EXCEPTION(cluck_exception, invalid_message);
35DECLARE_EXCEPTION(cluck_exception, invalid_parameter);
36DECLARE_EXCEPTION(cluck_exception, timeout);
37
38
39} // namespace cluck
40// vim: ts=4 sw=4 et
DECLARE_LOGIC_ERROR(logic_error)
DECLARE_OUT_OF_RANGE(out_of_range)
DECLARE_EXCEPTION(cluck_exception, busy)
DECLARE_MAIN_EXCEPTION(cluck_exception)

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.