Skip to content

Error Manager Plugin

Si Carter edited this page Nov 18, 2018 · 1 revision

Error Manager

The error manager plugin has been designed to replace the standard error handling in .net core. It requires an implementation of IErrorManager interface which allows hosts to provide replacement error pages when a page is requested and not found.

There is also a general error handler, which logs the exception, notifies the host about the exception. The host can then log or email details about the error for fixing, or place directly within a Jira etc.

Settings

The error manager plugin can be configured using appsettings.json. Add an entry called ErrorManager, this has the following settings:

Quotes

This is a string array of messages that can be displayed on the 404 pages.

RandomQuotes

Bool, if true, a random quote will be selected and placed on the 404 page, if false (default), the quotes will by cycled in the order that they appear.