DUDS
Distributed Update of Data from Something
LayoutErrors.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of the DUDS project. It is subject to the BSD-style
3  * license terms in the LICENSE file found in the top-level directory of this
4  * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
5  * No part of DUDS, including this file, may be copied, modified, propagated,
6  * or distributed except according to the terms contained in the LICENSE file.
7  *
8  * Copyright (C) 2020 Jeff Jackowski
9  */
10 #ifndef LAYOUTERRORS_HPP
11 #define LAYOUTERRORS_HPP
12 
14 
15 namespace duds { namespace ui { namespace graphics {
16 
20 struct LayoutError : virtual std::exception, virtual boost::exception { };
21 
28 
34 
39 
44 
50 
54 typedef boost::error_info<struct Info_PanelPriority, int> PanelPriority;
55 
59 typedef boost::error_info<struct Info_PanelSizeStep, int> PanelSizeStep;
60 
61 } } }
62 
63 #endif // #ifndef LAYOUTERRORS_HPP
A panel that can only be used in one layout was added to another layout.
The base class for errors related to the use of images.
The base class for errors from layout managers.
An attempt was made to add a panel using an invalid priority value.
An operation that requires a panel to be added to a layout was attempted on a panel that is not in an...
Thrown by Panels during rendering if the panel discovers the size required for its image will not fit...
General graphics related code.
Definition: HD44780.hpp:15
boost::error_info< struct Info_PanelSizeStep, int > PanelSizeStep
Identifies a Panel&#39;s selected size-step in errors.
boost::error_info< struct Info_PanelPriority, int > PanelPriority
Identifies a Panel object&#39;s layout priority in errors.
A panel identified by priority key could not be found.