---
name: "std::lock_error"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/std::lock_error"
---

# std::lock\_error(3cxx)

## NAME

std::lock\_error -

## SYNOPSIS

Inherits **std::exception**.

### Public Member Functions

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

## Detailed Description

Thrown to indicate errors with lock operations.

Definition at line 394 of file mutex.

## Member Function Documentation

### virtual const char\* std::lock\_error::what () const throw ()` [virtual]`

Returns a C-style character string describing the general cause of the current error.

Reimplemented from **std::exception**.

## Author

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