12 #ifndef ZYPP_BASE_ERRNO_H 13 #define ZYPP_BASE_ERRNO_H 49 operator int()
const {
return get(); }
65 #endif // ZYPP_BASE_ERRNO_H Convenience errno wrapper.
std::string asString() const
Return human readable error string.
String related utilities and Regular expression matching.
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
Errno()
Default ctor: errno.
Errno(bool error_r)
Ctor set to errno if error condition, else 0.
Errno(int errno_r)
Ctor taking an explicit errno value.
std::ostream & operator<<(std::ostream &str, const Errno &obj)
std::string strerror(int errno_r)
Return string describing the error_r code.
Easy-to use interface to the ZYPP dependency resolver.