excgrid 0.1.0
Grid + XC-kernel + D3 library
Loading...
Searching...
No Matches
Error reporting

Typedefs

template<typename T>
using excgrid::Result = std::expected<T, ErrorCode>

Enumerations

enum class  excgrid::ErrorCode { ErrorCode::kInvalidArgument , ErrorCode::kUnsupported }

Detailed Description

The library's own minimal error convention (standalone discipline): fallible construction returns Result<T>; consumers translate the codes at their own boundary.

Typedef Documentation

◆ Result

template<typename T>
using excgrid::Result = std::expected<T, ErrorCode>

The library's result type.

Enumeration Type Documentation

◆ ErrorCode

enum class excgrid::ErrorCode
strong

The error codes the library reports.

Enumerator
kInvalidArgument 

A parameter or input value is out of contract.

kUnsupported 

A requested size/feature is not shipped.