Sisk

Method

AsyncHttpServerHandler.OnExceptionAsync

Namespace
Sisk.Core.Http.Handlers
Assembly
Sisk.Core.dll

OnExceptionAsync(Exception) #

Method that is called when an exception is caught in the HTTP server. This method is called regardless of whether ThrowExceptions is enabled or not.

C#
protected virtual Task OnExceptionAsync(Exception exception)

Parameters #

exception Exception

The exception object.

Returns #

Task

Type to search the documentation and the API reference.