Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
std::formatter< rtp::ErrorCode > Struct Reference

#include <Error.hpp>

Inheritance diagram for std::formatter< rtp::ErrorCode >:
Collaboration diagram for std::formatter< rtp::ErrorCode >:

Public Member Functions

auto format (rtp::ErrorCode e, std::format_context &ctx) const
 Format an ErrorCode enum value.
 

Detailed Description

Definition at line 121 of file Error.hpp.

Member Function Documentation

◆ format()

auto std::formatter< rtp::ErrorCode >::format ( rtp::ErrorCode  e,
std::format_context &  ctx 
) const
inline

Format an ErrorCode enum value.

Parameters
eThe error code to format
ctxThe format context
Returns
Iterator to the end of the formatted output

Definition at line 128 of file Error.hpp.

References rtp::toString().


The documentation for this struct was generated from the following file: