---
name: "__gnu_pbds::container_error"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_pbds::container_error"
---

# \_\_gnu\_pbds::container\_error(3)

Base class for exceptions.

## NAME

\_\_gnu\_pbds::container\_error - Base class for exceptions.

## SYNOPSIS

\#include \<exception.hpp\>

Inherits **std::logic\_error**.

Inherited by **\_\_gnu\_pbds::insert\_error**, **\_\_gnu\_pbds::join\_error**, and **\_\_gnu\_pbds::resize\_error**.

### Public Member Functions

virtual const char \* **what** () const noexcept\

## Detailed Description

Base class for exceptions.

## Member Function Documentation

### virtual const char \* std::logic\_error::what () const \[virtual\], \[noexcept\], \[inherited\]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from **std::exception**.

Reimplemented in **std::future\_error**.

References **what()**.

Referenced by **what()**.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
