C# 클래스 CkanDotNet.Web.Models.Helpers.ErrorHelper

파일 보기 프로젝트 열기: opencolorado/.NET-Wrapper-for-CKAN-API

공개 메소드들

메소드 설명
DisplayErrorView ( ErrorPresentation errorPresentation ) : void

Display the error view

GetDefaultErrorPresentation ( Exception ex ) : ErrorPresentation

Gets a default error presentation to display to the user.

메소드 상세

DisplayErrorView() 공개 정적인 메소드

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

GetDefaultErrorPresentation() 공개 정적인 메소드

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