Converts a numeric error code to human-readable format

mpl_translate_error(errorCode)

Arguments

errorCode

Non-positive integer to be converted

Value

A character string corresponding to the provided error code

Examples

mpl_translate_error(-1) # "ERR_INVALID_SYMBOL"
#> [1] "ERR_INVALID_SYMBOL"