WPILibC++ 2024.3.2
wpi::uv::Error Class Reference

Error code. More...

#include <wpinet/uv/Error.h>

Public Member Functions

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

Detailed Description

Error code.

Constructor & Destructor Documentation

◆ Error() [1/2]

wpi::uv::Error::Error ( )
default

◆ Error() [2/2]

wpi::uv::Error::Error ( int  err)
inlineexplicit

Member Function Documentation

◆ code()

int wpi::uv::Error::code ( ) const
inline

Returns the error code.

◆ name()

const char * wpi::uv::Error::name ( ) const
inline

Returns the error name.

◆ operator bool()

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

Boolean conversion.

Returns true if error, false if ok.

◆ str()

const char * wpi::uv::Error::str ( ) const
inline

Returns the error message.


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