A toolkit for working with phylogenetic data.
Exception Class Reference

#include <genesis/utils/core/exception.hpp>

Inherits exception.

Inherited by GzipError, and IOError.

Detailed Description

Base class for genesis exceptions.

This class serves as the base from which all exceptions that are thrown from genesis shall be derived. We are far from having done this yet (unfortunately, we had this idea too late...), so for now, there are only a few exceptions that use this class as their base. But in the long term, we want to change that, so that developers using genesis can easily catch all genesis-related exceptions.

Definition at line 53 of file exception.hpp.

Public Member Functions

 Exception (std::string const &message)
char const * what () const noexcept override

Protected Attributes

std::string message_

Constructor & Destructor Documentation

◆ Exception()

Exception ( std::string const &  message)

Definition at line 58 of file exception.hpp.

Member Function Documentation

◆ what()

char const* what ( ) const

Definition at line 62 of file exception.hpp.

Member Data Documentation

◆ message_

std::string message_

Definition at line 68 of file exception.hpp.

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