libnmbs 1.0.0
Loading...
Searching...
No Matches
expected.h File Reference

Standard error handling types for the nmbs library. More...

#include <expected>
#include <string>
#include <utility>
#include "exit_code.h"

Go to the source code of this file.

Classes

class  nmbs::Error
 Lightweight domain error container for use with nmbs::Expected. More...

Namespaces

namespace  nmbs
 Lightweight utilities for NATO confidentiality metadata.

Typedefs

template<typename T>
using nmbs::Expected = std::expected<T, Error>
 Alias for std::expected standardized with nmbs::Error.

Detailed Description

Standard error handling types for the nmbs library.

Defines the immutable nmbs::Error container and the nmbs::Expected alias, standardizing function return types via std::expected.

Author
Luke Ian Turner
Date
2026-07-04