[Contents] [Prev] [Next] [Index] [Report an Error]


<xnm:error>

Usage

<junoscript>
    <any-child-of-junoscript>
        <xnm:error xmlns="namespace-URL" xmlns:xnm="namespace-URL">
            <parse/>
            <source-daemon>module-name</source-daemon>
            <filename>filename</filename>
            <line-number>line-number</line-number>
            <column>column-number</column>
            <token>input-token-id</token>
            <message>error-string</message>
            <edit-path>edit-path-name</edit-path>
        </xnm:error>
    </any-child-of-junoscript>
</junoscript>

Description

Indicate that the JUNOScript server has experienced an error while processing the client application's request. If the server has already emitted the response tag element for the current request, the information enclosed in the response tag element might be incomplete. The client application must include code that discards or retains the information, as appropriate. The child tag elements described in the Contents section detail the nature of the error. The JUNOScript server does not necessarily emit all child tag elements; it omits tag elements not relevant to the current request.

Attributes

xmlns—Names the XML namespace for the contents of the tag element. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1.

xmlns:xnm—Names the XML namespace for child tag elements that have the xnm: prefix on their names. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1.

Contents

<column>—Identifies the element that caused the error by specifying its position as the number of characters after the first character in one of the following:

<edit-path>—Specifies the CLI configuration-mode edit path in effect when the error occurred (provided only during loading of a configuration file).

<filename>—Names the configuration file that was being loaded.

<line-number>—Specifies the line number where the error occurred in the configuration file that was being loaded, which is named by the <filename> tag element.

<message>—Describes the error in a natural-language text string.

<parse/>—Indicates that there was a syntactic error in the request submitted by the client application.

<source-daemon>—Names the software module that was processing the request in which the error occurred.

<token>—Names which element in the request caused the error.

See Also

<junoscript>, <xnm:warning>


[Contents] [Prev] [Next] [Index] [Report an Error]