VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Result.hpp File Reference
#include <cstdint>
#include <expected>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

struct  VoltMod::Error
 One failure: a code to branch on, text for the log, and an optional translation key. More...
 

Namespaces

namespace  VoltMod
 

Typedefs

template<class T >
using VoltMod::Result = std::expected< T, Error >
 
using VoltMod::Status = std::expected< void, Error >
 

Enumerations

enum class  VoltMod::ErrorCode : uint8_t {
  VoltMod::NotFound , VoltMod::NotReady , VoltMod::Invalid , VoltMod::Denied ,
  VoltMod::Immune , VoltMod::Unsupported , VoltMod::Engine , VoltMod::Failed
}
 Why an operation did not produce a value. More...