Customized error messages in Lotus Domino

We can customize the error messages that is displayed for the users. We need to add below 4 additional forms to the database.

1.$$ReturnAuthenticationFailure
This form can be used when current users authentication could not be verified.

2.$$ReturnAuthorizationFailure
This form can be used when the current user does not have enough access to view it.

3.$$ReturnDocumentDeleted
This form can be used the document got delete and want to leave some message.

4.$$ReturnGeneralError
Other than above if any other error occurs you can use this to display a common message. If you want to debug it then add an editable field named “MessageString” in the form and display it.