(Deprecated: Use error().) Get the last error associated with the stream buffer.
error()
const asio::error_code & puberror() const;
An error_code corresponding to the last error from the stream buffer.
error_code