Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
AsyncFibersError.h
1// Copyright (c) Stefano Cristiano
2// SPDX-License-Identifier: MIT
3#pragma once
4
5#include "../Common/Result.h"
6
7namespace SC
8{
11
14enum class AsyncFibersError : uint32_t
15{
16 Cancelled = 1,
17 SocketSendNoProgress,
18 InvalidFileHandle,
19 UnexpectedEndOfFile,
20 WrongOwnerThread,
21 FiberContextRequired,
22 CommandStorageEmpty,
23 InvalidCommand,
24 CommandQueueFull,
25};
26
28static constexpr ResultCategory AsyncFibersResultCategory = ResultCategory(14);
29
31} // namespace SC
AsyncFibersError
Stable portable failures owned by the AsyncFibers bridge.
Definition AsyncFibersError.h:15