class invalid_access_exception

Declaration

class invalid_access_exception : public std::exception { /* full declaration omitted */ };

Description

A helper exception class used for error handling in monadic types

The class is used when the macro `LIBREGLISSE_USE_EXCEPTIONS` is defined. It replaces the call to `assert()` with an exception throw.

Declared at: libreglisse/detail/invalid_access_exception.hpp:24

Inherits from: std::exception

Member Variables

private std::string m_msg

Method Overview

Methods

invalid_access_exception(std::string msg)

Declared at: libreglisse/detail/invalid_access_exception.hpp:27

Parameters

std::string msg

auto what() const noexcept -> const char*

Declared at: libreglisse/detail/invalid_access_exception.hpp:29