ReadErrorException Class Reference

Space-ng SDK: sol3::core::SizeDelimitedLogReader::ReadErrorException Class Reference
Space-ng SDK
sol3::core::SizeDelimitedLogReader::ReadErrorException Class Reference

Exception wrapper that exposes the ReadError and context string. More...

#include <sol3/core/size_delimited_log_reader.h>

Inheritance diagram for sol3::core::SizeDelimitedLogReader::ReadErrorException:

Public Member Functions

 ReadErrorException (ReadError err, std::string_view context)
 Builds a formatted error message for the provided ReadError. More...
 

Public Attributes

ReadError error
 
std::string context
 

Detailed Description

Exception wrapper that exposes the ReadError and context string.

Constructor & Destructor Documentation

◆ ReadErrorException()

sol3::core::SizeDelimitedLogReader::ReadErrorException::ReadErrorException ( ReadError  err,
std::string_view  context 
)

Builds a formatted error message for the provided ReadError.

Member Data Documentation

◆ context

std::string sol3::core::SizeDelimitedLogReader::ReadErrorException::context

◆ error

ReadError sol3::core::SizeDelimitedLogReader::ReadErrorException::error

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