A library for working with phylogenetic and population genetic data.
v0.27.0
GzipError Class Reference

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

Inherits IOError.

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 IOError
 IOError (std::string const &message)
 
 IOError (std::string const &message, std::string const &filename)
 
std::string const & filename () const
 
- Public Member Functions inherited from Exception
 Exception (std::string const &message)
 
char const * what () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from IOError
std::string filename_
 
- 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)
inline

Definition at line 74 of file gzip.hpp.


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