Show / Hide Table of Contents

Interface IGetsErrorStream

An object which can get a stream which contains an error page, to show the end user, when rendering fails.

Namespace: ZptSharp.Mvc5
Assembly: ZptSharp.Mvc5.dll
Syntax
public interface IGetsErrorStream

Methods

| Improve this Doc View Source

GetErrorStreamAsync(Exception)

Gets a stream which represents the rendered error document.

Declaration
Task<Stream> GetErrorStreamAsync(Exception exception)
Parameters
Type Name Description
System.Exception exception

The exception which caused this error view to be displayed.

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

The error stream.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX