Learn R Programming

nanonext (version 1.3.0)

nng_error: Translate Error Codes

Description

Translate integer exit codes generated by the NNG library. All package functions return an integer exit code on error rather than the expected return value. These are classed ‘errorValue’ and may be checked by is_error_value.

Usage

nng_error(xc)

Value

A character string comprising the error code and error message separated by ‘ | ’.

Arguments

xc

integer exit code to translate.

Examples

Run this code
nng_error(1L)

Run the code above in your browser using DataLab