Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
stage_response::error

Retrieves the contained error code.

Synopsis
error_code
error() const noexcept;
Description

If *this contains an error, retrieves it. Otherwise (if this->has_statement() || this->has_results()), returns an empty (default-constructed) error code.

Exception safety

No-throw guarantee.


PrevUpHomeNext