System.ComponentModel.Navigation.Controller.Error C# (CSharp) Method

Error() protected method

Creates an ErrorActionResult that specifies the error that occurred in completing the action.
protected Error ( Exception error ) : ErrorActionResult
error System.Exception The error that occurred.
return ErrorActionResult
        protected ErrorActionResult Error(Exception error)
        {
            return new ErrorActionResult(error);
        }