putErrorMessage: Put an error message

Description Usage Arguments Value

View source: R/libxmcda.R

Description

Puts an error message in a <methodMessages> tag of an XML tree written according to the XMCDA standard.

Usage

1
putErrorMessage(tree, errorMessage, name = NULL)

Arguments

tree

Object containing the XMCDA XML tree.

errorMessage

A string containing the text of the error message.

name

A string containing the specific name attribute which should be searched for.

Value

The function returns a list structured as follows:

status

Either OK if the <errorMessage> tag could be correctly put, or the description of the error.


RXMCDA documentation built on May 1, 2019, 10:23 p.m.