GTIRB  v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
Public Member Functions | Public Attributes | List of all members
gtirb::ErrorInfo Struct Reference

#include <ErrorOr.hpp>

Public Member Functions

 ErrorInfo ()=default
 
 ErrorInfo (const std::error_code &EC, const std::string &S)
 
std::string message () const
 

Public Attributes

std::error_code ErrorCode
 
std::string Msg
 

Detailed Description

A small struct to hold an error code along with a string holding additional details

Constructor & Destructor Documentation

◆ ErrorInfo() [1/2]

gtirb::ErrorInfo::ErrorInfo ( )
default

◆ ErrorInfo() [2/2]

gtirb::ErrorInfo::ErrorInfo ( const std::error_code &  EC,
const std::string &  S 
)
inline

Member Function Documentation

◆ message()

std::string gtirb::ErrorInfo::message ( ) const

Member Data Documentation

◆ ErrorCode

std::error_code gtirb::ErrorInfo::ErrorCode

◆ Msg

std::string gtirb::ErrorInfo::Msg

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