Skip to content

Error handling

peio42 edited this page Nov 26, 2020 · 1 revision

In uvpp, errors are raised through the object uv::Error.

try {
  // ...
} catch (uv::Error &e) {
  // An error occured
}

API

const char *name()

Returns the error name.

const char *message()

Returns the error message.

Clone this wiki locally