Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling Namespace Reference

Classes

class  ApplicationExtensions
 Provides IApplicationBuilder extension to inject custom ASP.NET Core application level Exception handling.
 
class  ConfigurationExceptionDataProvider
 Provides Json based ExceptionSettings configuration More...
 
class  DefaultExceptionDataProvider
 Provides Base implementation ExceptionDataProvider of ExceptionSettings configuration More...
 
class  ErrorDetail
 Defines the Error Detail information More...
 
class  ErrorDetailLocalizer
 
class  EventId
 Defines Log Event Id More...
 
class  ExceptionCodeDetails
 Datastructure to provide exception Code Details. More...
 
class  ExceptionCodesDecider
 
class  ExceptionData
 Datastructure holding Exception details More...
 
class  ExceptionDataProvider
 Provides base implementation for IExceptionDataProvider More...
 
class  ExceptionFilter
 Adds IExceptionHandler to ExceptionFilterAttribute More...
 
class  ExceptionHandlerDefinition
 Defines the Exception Handler Definition More...
 
class  ExceptionHandlingMiddleware
 IExceptionManager implementation as middleware component. More...
 
class  ExceptionLogger
 
class  ExceptionManager
 Provides Api to handle Exceptions More...
 
class  ExceptionRaiser
 Provides Api to create and throws Exceptions More...
 
class  ExceptionSettings
 Provides configuration structure for the Exception manager and its handlers including Exception details. More...
 
class  RaisedException
 Datastructure to represent REST exceptions More...
 
class  ServiceCollectionExtensions
 Provides IServiceCollection extensions for Exception Manager integration
 

Enumerations

enum  HandlingBehaviour { HandlingBehaviour.Supress, HandlingBehaviour.Propagate, HandlingBehaviour.Wrap, HandlingBehaviour.Custom }
 Defines the Exception handling behaviours More...
 

Enumeration Type Documentation

◆ HandlingBehaviour

Defines the Exception handling behaviours

Enumerator
Supress 

Supresses the raised exception after handling

Propagate 

Rethrows the raised exception after handling.

Wrap 

Wraps the exception after handling.

Custom 

Custom behavior applies to the exception after handling.