The mgiGetErrorParameter Tag
Tag Behavior
Use the mgiGetErrorParameter tag to create a custom error page
for your domain (or for specific folders in your domain). Custom
error pages are enabled in the region preferences for your domain.
If you do not have access to the region preferences for your domain,
contact the server administrator.
Tag Syntax
The mgiGetErrorParameter tag has one required parameter and
no optional parameters. The tag form is:
<mgiGetErrorParameter name="Error Parameter">
Required Parameters:
- name - The name is the name of the error parameter
to display. Valid parameter names are:
- type - The type of error that occurred.
- explanation - The explanation of the error that occurred.
- correctiveAction - Suggestions for correcting the
error.
- tagName - The name of the tag where the error occurred.
- completeTag - The complete tag where the error occurred.
Optional Parameters:
Example Usage and Output
<html>
<head>
<title>Processing Error</title>
</head>
<body background="white">
<H2 align="center">Processing Error</H2>
<p align="center">
<font color="#ff0000">
Error: <mgiGetErrorParameter name="explanation">
</font></p>
</body>
</html>
In this example, a custom error page displays the error explantion
only. The page might look like:
Processing Error
The "fileLocation"
parameter is required for the <mgiIncludeFile> tag.
Suggested Usage
|