Welcome to the Alfresco Builder Network

Displays info about a specific error.

Basic Usage

Once you have caught the error in your server you will need to redirect to /error/errorCode to display information about that error.

this.router.navigate(['/error', errorCode]);

Class members


NameTypeDefault valueDescription
errorCodestringError code associated with this error.
returnButtonUrlstring"/"Target URL for the return button.
secondaryButtonUrlstring"report-issue"Target URL for the secondary button.


Note that you need to provide values for the variables used in the view template.

You can customize your error messages by adding them to the translate files inside lib/core/i18n:

    "404": {
      "TITLE": "An error occurred.",
      "DESCRIPTION": "We couldn’t find the page you were looking for.",
        "TEXT": ""
      "RETURN_BUTTON": { 
        "TEXT": "Back to home"

See also

Interested in trying Alfresco?

Try Now