![]() |
DeskUp 0.3
|
Error management system for DeskUp (centralized error representation and conversion utilities). More...


Go to the source code of this file.
Classes | |
| class | DeskUp::Error |
| Centralized representation of a DeskUp runtime error. More... | |
Typedefs | |
| template<typename T> | |
| using | DeskUp::Result = std::expected<T, DeskUp::Error> |
| Alias for an operation result that either holds a value or a DeskUp error. | |
| using | DeskUp::Status = std::expected<void, DeskUp::Error> |
| Alias for an operation that returns success or failure (void on success). | |
Enumerations | |
| enum class | DeskUp::Level { Fatal , Error , Warning , Retry , Info , Debug , Default , Skip , None } |
| Represents the severity of an error. More... | |
| enum class | DeskUp::ErrType { InsufficientMemory , AccessDenied , SharingViolation , Io , NotFound , DiskFull , DeviceNotFound , Timeout , ResourceBusy , FileNotFound , InvalidFormat , InvalidInput , CorruptedData , OutOfRange , NetworkError , ConnectionRefused , HostUnreachable , ProtocolError , Unexpected , NotImplemented , PolicyUpdated , FunctionFailed , Default , None } |
| Represents the underlying type or origin of an error. More... | |
Error management system for DeskUp (centralized error representation and conversion utilities).
This file is part of DeskUp
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
| using DeskUp::Result = std::expected<T, DeskUp::Error> |
Alias for an operation result that either holds a value or a DeskUp error.
| T | The success type. |
| using DeskUp::Status = std::expected<void, DeskUp::Error> |
Alias for an operation that returns success or failure (void on success).
|
strong |
Represents the underlying type or origin of an error.
Each enumerator identifies a distinct class of errors so that DeskUp can map platform or library failures into portable internal types.
|
strong |
Represents the severity of an error.
This enumeration provides a consistent way to classify errors by their impact and intended handling behavior.