WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
mrc::ErrorInfo Struct Reference

#include </home/runner/work/allwpilib/allwpilib/hal/src/mrc/include/mrc/NetComm.h>

Public Member Functions

void SetDetails (std::string_view NewDetails)
 
void MoveDetails (std::string &&NewDetails)
 
std::string_view GetDetails () const
 
std::span< uint8_t > WritableDetailsBuffer (size_t Len)
 
void SetLocation (std::string_view NewLocation)
 
void MoveLocation (std::string &&NewLocation)
 
std::string_view GetLocation () const
 
std::span< uint8_t > WritableLocationBuffer (size_t Len)
 
void SetCallStack (std::string_view NewCallStack)
 
void MoveCallStack (std::string &&NewCallStack)
 
std::string_view GetCallStack () const
 
std::span< uint8_t > WritableCallStackBuffer (size_t Len)
 

Public Attributes

bool IsError {false}
 
int32_t ErrorCode {0}
 

Member Function Documentation

◆ GetCallStack()

std::string_view mrc::ErrorInfo::GetCallStack ( ) const
inline

◆ GetDetails()

std::string_view mrc::ErrorInfo::GetDetails ( ) const
inline

◆ GetLocation()

std::string_view mrc::ErrorInfo::GetLocation ( ) const
inline

◆ MoveCallStack()

void mrc::ErrorInfo::MoveCallStack ( std::string && NewCallStack)
inline

◆ MoveDetails()

void mrc::ErrorInfo::MoveDetails ( std::string && NewDetails)
inline

◆ MoveLocation()

void mrc::ErrorInfo::MoveLocation ( std::string && NewLocation)
inline

◆ SetCallStack()

void mrc::ErrorInfo::SetCallStack ( std::string_view NewCallStack)
inline

◆ SetDetails()

void mrc::ErrorInfo::SetDetails ( std::string_view NewDetails)
inline

◆ SetLocation()

void mrc::ErrorInfo::SetLocation ( std::string_view NewLocation)
inline

◆ WritableCallStackBuffer()

std::span< uint8_t > mrc::ErrorInfo::WritableCallStackBuffer ( size_t Len)
inline

◆ WritableDetailsBuffer()

std::span< uint8_t > mrc::ErrorInfo::WritableDetailsBuffer ( size_t Len)
inline

◆ WritableLocationBuffer()

std::span< uint8_t > mrc::ErrorInfo::WritableLocationBuffer ( size_t Len)
inline

Member Data Documentation

◆ ErrorCode

int32_t mrc::ErrorInfo::ErrorCode {0}

◆ IsError

bool mrc::ErrorInfo::IsError {false}

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