ON THIS PAGE
<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> <edit-path>edit-path</edit-path> <statement>statement-name </statement> <message>error-string</message> <re-name>re-name-string</re-name> <database-status-information>...</database-status-information> <reason>...</reason> </xnm:error> </any-child-of-junoscript> </junoscript>
Description
Indicate that the Junos XML protocol 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 Junos XML protocol server does not necessarily emit all child tag elements; it omits tag elements that are not relevant to the current request.
Attributes
xmlns | XML namespace
for the contents of the tag element. The value is a URL of the form |
xmlns:xnm | XML namespace
for child tag elements that have the |
Contents
<column> |
(Occurs only during loading of a configuration file)
Identifies the element that caused the error by specifying its position
as the number of characters after the first character in the specified
line in the configuration file that was being loaded. The line and
file are specified by the accompanying |
<edit-path> |
(Occurs only during loading of configuration data) Specifies the path to the configuration hierarchy level at which the error occurred, in the form of the CLI configuration mode banner. |
<filename> |
(Occurs only during loading of a configuration file) Names the configuration file that was being loaded. |
<line-number> |
(Occurs only during loading of a configuration file)
Specifies the line number where the error occurred in the configuration
file that was being loaded, which is named by the accompanying |
<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. |
<re-name> |
Names the Routing Engine on which the error occurred. |
<source-daemon> |
Names the Junos OS module that was processing the request in which the error occurred. |
<statement> |
(Occurs only during loading of configuration data)
Identifies the configuration statement that was being processed when
the error occurred. The accompanying |
<token> |
Names which element in the request caused the error. |
The other tag elements are explained separately.