An exception that is thrown when a system call returns -1.
public std::exceptioncode() const -> std::error_codeerrc() const -> std::errcerror() const -> errorsGet error condition.
bad_call()
Construct the error from errno.
what() const -> const char *bad_call(std::errc errcond)explicit
Construct the error from std::errc.
bad_call(errors code)explicit