Show / Hide Table of Contents

    Interface IWebErrorHandler

    Allows an implementer to overwrite the error message returned to the caller and optionally perform custom error processing such as logging.

    Namespace: Nevatech.Vsb.Repository.Services.Web
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public interface IWebErrorHandler

    Methods

    HandleError(WebErrorHandlerContext)

    Inspects and potentially overwrites the error message returned to the caller. This method must be thread-safe to accommodate handling of the multiple error messages simultaneously.

    Declaration
    void HandleError(WebErrorHandlerContext context)
    Parameters
    Type Name Description
    WebErrorHandlerContext context

    The inner exception and other relevant data needed to handle a web error and return a response error message to the caller.

    Back to top Nevatech Sentinet 6.5 Online Documentation