Data:

A short string identifying the API or protocol that defines the meaning of
extra_value, such as "errno", "http",
or "mmf".

int64_t extra_value

An error number according to extra_type.

char extra_text[ 256 ]

Free-form text describing the error. This may or may not have a format
formally defined by a specification. For example, when
extra_type is "http", this field contains an
HTTP server response string.

Library:

mmrndclient

Description:

The structure mmr_error_info_t contains error information generated by
mm-renderer functions. Use the function
mmr_error_info() to retrieve error information for a particular
context and function call.

This multifield structure allows plugins to return protocol- or API-specific error
information in addition to the MMR error code. The extra_type
string is a tag that specifies how to interpret the extra_value
and extra_text fields.

The values of extra_type currently supported are:

extra_type

extra_value

extra_text

"" (empty)

0

Usually empty, possibly some descriptive text

"errno"

An errno value

Usually the result of strerror(extra_value), but
possibly something more descriptive