Custom Error Formatting

Any errors returned by the WAP server are returned in a card which summarizes the error.  If you want to use custom formatting, then you can add a template file error.wml.  Unlike other template files, this one must reside in the WAP subdirectory of the VTS layer.  It will not be found in other layers.  The parameters to this card are:

Param

Label or Value

Default Value

1

ErrorMessageLabel

“Error Message”

2

ErrorMessageLabel

“Error Message”

3

ErrorCodeLabel

“Error Code”

4

400, 401, 403, 404, 500 or 501

 

5

MessageLabel

“Message”

6

HTTP400Label or
HTTP401Label etc

First part of the label text (up to the “/”)

7

DescriptionLabel

“Description”

8

400, 401, 403, 404, 500 or 501

 

9

HTTP400Label or
HTTP401Label etc

Second part of the label text (after the “/”)