C# Class CkanDotNet.Web.Models.Helpers.ErrorHelper

Show file Open project: opencolorado/.NET-Wrapper-for-CKAN-API

Public Methods

Method Description
DisplayErrorView ( ErrorPresentation errorPresentation ) : void

Display the error view

GetDefaultErrorPresentation ( Exception ex ) : ErrorPresentation

Gets a default error presentation to display to the user.

Method Details

DisplayErrorView() public static method

Display the error view
public static DisplayErrorView ( ErrorPresentation errorPresentation ) : void
errorPresentation ErrorPresentation
return void

GetDefaultErrorPresentation() public static method

Gets a default error presentation to display to the user.
public static GetDefaultErrorPresentation ( Exception ex ) : ErrorPresentation
ex System.Exception
return ErrorPresentation