The MGM API used for Error handling are discussed in this
section.
Each MGM API error is characterised by an error code and an
error message. There may also be an error description that may
provide additional information about the error. The API provides
functions to obtain this information in the event of an error.