excgrid
0.1.0
Grid + XC-kernel + D3 library
Toggle main menu visibility
Loading...
Searching...
No Matches
error.hpp
1
#pragma once
2
3
#include <expected>
4
5
namespace
excgrid {
6
13
16
enum class
ErrorCode
{
17
kInvalidArgument
,
18
kUnsupported
,
19
};
20
23
template
<
typename
T>
using
Result
= std::expected<T, ErrorCode>;
24
25
}
// namespace excgrid
excgrid::Result
std::expected< T, ErrorCode > Result
Definition
error.hpp:23
excgrid::ErrorCode
ErrorCode
Definition
error.hpp:16
excgrid::ErrorCode::kInvalidArgument
@ kInvalidArgument
A parameter or input value is out of contract.
Definition
error.hpp:17
excgrid::ErrorCode::kUnsupported
@ kUnsupported
A requested size/feature is not shipped.
Definition
error.hpp:18
include
excgrid
error.hpp
Generated by
1.18.0