WPILibC++  2020.3.2-60-g3011ebe
wpi::uv::Error Class Reference

Error code. More...

#include <Error.h>

Public Member Functions

 Error (int err)
 operator bool () const
 Boolean conversion. More...
int code () const
 Returns the error code.
const char * str () const
 Returns the error message.
const char * name () const
 Returns the error name.

Detailed Description

Error code.

Member Function Documentation

◆ operator bool()

wpi::uv::Error::operator bool ( ) const

Boolean conversion.

Returns true if error, false if ok.

The documentation for this class was generated from the following file: