Interface IExceptionInterceptor
- Namespace
- LinqToDB.Interceptors
- Assembly
- linq2db.dll
public interface IExceptionInterceptor : IInterceptor
- Extension Methods
Methods
ProcessException(ExceptionEventData, Exception)
Event, triggered when an exception is thrown while executing a database command/query.
void ProcessException(ExceptionEventData eventData, Exception exception)
Parameters
eventDataExceptionEventDataexceptionExceptionThe thrown Exception.
Remarks
Implementors should throw their own exceptions directly in this method. If this method returns normally, then the existing exception will be thrown.