Function code

Synopsis

#include <src/uvw/emitter.h>

int code() const noexcept

Description

Gets the underlying error code, that is an error constant of libuv.

Returns
The underlying error code.

Source

Lines 27-29 in src/uvw/emitter.cpp. Line 66 in src/uvw/emitter.h.

UVW_INLINE int ErrorEvent::code() const noexcept {
    return ec;
}





Add Discussion as Guest

Log in