Home > Class Reference > ENSLIB namespace > %CSP.StudioTemplateError
Private  Storage   


class %CSP.StudioTemplateError extends %CSP.StudioTemplateInsert, %CSP.Error

This is the error page that is called if an error occurs when generating the XML template code. It will output the error information as a template, so this will be pasted into the current document in Studio. If you wish to write your own error page just inherit from this page. Then in the final template page set the ERRORPAGE parameter to your new error page.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %SetModified
AddToProject AddToSourceControl ConvertParameter DecomposeError
Decrypt DisplayError Encrypt EscapeHTML
EscapeURL HyperEventCall HyperEventError HyperEventHead
Include InsertHiddenField InsertHiddenFields IsEnabled
IsPrivate Link LocalizeName LogError
OnErrorSetup OnPage OnPageError OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL SetClassName ShowError StartTimer
StopTimer ThrowError UnescapeHTML UnescapeURL


• classmethod OnPage() as %Status
Create the template with the error information in it.