hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::assert::Overflow_error Class Reference

Indicates an exception caused by some kind of fixed-size resource has been exhausted. More...

#include <assert.hpp>

Inheritance diagram for hexed::assert::Overflow_error:
hexed::assert::Internal_error hexed::assert::Exception

Public Member Functions

std::string name () const override
 
 Overflow_error (std::string message)
 
- Public Member Functions inherited from hexed::assert::Internal_error
 Internal_error (std::string message)
 
- Public Member Functions inherited from hexed::assert::Exception
 Exception (std::string m)
 
std::string message () const
 
const char * what () const noexcept override
 

Detailed Description

Indicates an exception caused by some kind of fixed-size resource has been exhausted.

For example, a buffer has been overflowed or recursion depth cap exceeded. This implies that the error can, in principle be avoided by allocating more resources, but most likely the underlying cause is a bug.

Member Function Documentation

◆ name()

std::string hexed::assert::Overflow_error::name ( ) const
inlineoverridevirtual

Reimplemented from hexed::assert::Internal_error.


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