Diag-Client-Lib
error_domain.cpp
Go to the documentation of this file.
1 /* Diagnostic Client library
2  * Copyright (C) 2024 Avijit Dey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
9 
10 namespace core_type {
11 
13 
14 constexpr ErrorDomain::IdType ErrorDomain::Id() const noexcept { return id_; }
15 
16 } // namespace core_type
constexpr IdType Id() const noexcept
Return the unique domain identifier.
ErrorDomain(const ErrorDomain &)=delete
Copy construction shall be disabled.
std::uint64_t IdType
Type alias for a unique ErrorDomain identifier type.
Definition: error_domain.h:25
IdType id_
Store the unique identifier.
Definition: error_domain.h:96