Handling MGI Errors

If MGI encounters an error while parsing a page, an error page displays. The type of error page that displays depends on the region preferences setting for the region in which the error occurred.

If the region preferences are set to "Use Default MGI Error Page", then a pre-formatted MGI error page is served when an error is encountered. Each error page is named "Wow! I bet you didn't expect to see this..." followed by the specific error and suggestions for remedy of the error. If there is a mistake in MGI code, the error page will highlight the code being processed in red to facilitate de-bugging.

If the region preferences are set to use a custom error page, then the custom error page displays when an error is encountered. Custom error pages have the option of displaying any or all parts of an error using the mgiGetErrorParameter tag.

[Processing Tags] [Errors] [Writing Tags] [Using Tags] [Embedding Tags]

[Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]

[MGI Guides Main Menu] [User Guide Main Menu]