ErrorController.ShowErrorPageFromView

Allows you to display an arbitrary view and pass an optional ErrorViewModel for it. In short it's a shortcut way to just execute a custom view.

public static void ShowErrorPageFromView(string viewPage,
	ErrorViewModel errorModel)

Parameters

viewPage
Path to a ViewPage

errorModel
Optional ErrorViewModel to pass to the view


See also:

Class ErrorController

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic