A toolkit for working with phylogenetic data.
GzipError Class Reference

#include <genesis/utils/io/gzip.hpp>

Inherits Exception.

Detailed Description

Exception class thrown by failed gzip/zlib operations.

If compiled without zlib support, the exepction has no use and contains a dummy message.

Definition at line 67 of file gzip.hpp.

Public Member Functions

 GzipError (std::string const &z_stream_message, int error_code)
 GzipError (std::string const msg)
- Public Member Functions inherited from Exception
 Exception (std::string const &message)
char const * what () const noexcept override

Additional Inherited Members

- Protected Attributes inherited from Exception
std::string message_

Constructor & Destructor Documentation

◆ GzipError() [1/2]

GzipError ( std::string const &  z_stream_message,
int  error_code 

Definition at line 111 of file gzip.cpp.

◆ GzipError() [2/2]

GzipError ( std::string const  msg)

Definition at line 74 of file gzip.hpp.

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