These interfaces may be used to convert between the local (
and BSM error number spaces found in BSM return tokens.
function accepts a BSM error value,
and converts it to an
that will be stored in the integer pointed to by
This call will fail if the BSM error cannot be mapped into a local error
number, which may occur if the return token was generated on another
function accepts a local
value, and returns the BSM error number for it.
This call cannot fail, and instead returns a BSM error number indicating to
a later decoder that the error could not be encoded.
function converts a BSM error value to a string, generally by converting first to a
local error number and using the local
function, but will also work for errors that are not locally defined.