FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
error_action.hpp File Reference

Venue error classification shared by every connector's error map: the engine-facing RejectReason plus what the connector itself must do (cool down, resync the clock, reconcile, stop). More...

#include "fastmm/core/enums.hpp"
#include <cstdint>
#include <string_view>

Go to the source code of this file.

Classes

struct  fastmm::venues::ErrorMapping
 

Namespaces

namespace  fastmm
 
namespace  fastmm::venues
 

Enumerations

enum class  fastmm::venues::VenueAction : std::uint8_t {
  fastmm::venues::None = 0 , fastmm::venues::Backoff = 1 , fastmm::venues::RateLimit = 2 , fastmm::venues::ResyncClock = 3 ,
  fastmm::venues::Reconcile = 4 , fastmm::venues::DisableInstrument = 5 , fastmm::venues::HardStop = 6 , fastmm::venues::Fatal = 7
}
 What the connector does beyond reporting the reject to the engine. More...
 

Functions

constexpr std::string_view fastmm::venues::to_string (VenueAction a) noexcept
 
constexpr bool fastmm::venues::contains_ci (std::string_view hay, std::string_view needle) noexcept
 Case-insensitive substring search (venue error messages vary in case).
 

Detailed Description

Venue error classification shared by every connector's error map: the engine-facing RejectReason plus what the connector itself must do (cool down, resync the clock, reconcile, stop).