basic_parser::last_error

Return the last error.

Synopsis

boost::system::error_code
last_error() const noexcept;

Description

This returns the last error code which was generated in the most recent call to write_some.

Complexity

Constant.

Exception Safety

No-throw guarantee.