Eclipse SUMO - Simulation of Urban MObility
zstr::Exception Class Reference

Exception class thrown by failed zlib operations. More...

#include <zstr.hpp>

Inheritance diagram for zstr::Exception:
[legend]
Collaboration diagram for zstr::Exception:
[legend]

Public Member Functions

 Exception (z_stream *zstrm_p, int ret)
 

Static Public Member Functions

static std::string error_to_message (z_stream *zstrm_p, int ret)
 

Detailed Description

Exception class thrown by failed zlib operations.

Definition at line 33 of file zstr.hpp.

Constructor & Destructor Documentation

◆ Exception()

zstr::Exception::Exception ( z_stream *  zstrm_p,
int  ret 
)
inline

Definition at line 79 of file zstr.hpp.

Member Function Documentation

◆ error_to_message()

static std::string zstr::Exception::error_to_message ( z_stream *  zstrm_p,
int  ret 
)
inlinestatic

Definition at line 37 of file zstr.hpp.

References nlohmann::to_string().


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