...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return the last error.
system::error_code last_error() const;
This returns the last error code which was generated in the most recent
call to write_some
.
Constant.
No-throw guarantee.