# MongoosePostErrorHookCB Interface

Module
import { MongoosePostErrorHookCB } from "@tsed/mongoose"
Source/packages/mongoose/src/interfaces/MongooseSchemaOptions.ts

# Overview

interface MongoosePostErrorHookCB<T> {
    (error: any, doc: MongooseDocument<T>, next: (err?: NativeError) => void): void;
}

# Members

(error: any, doc: MongooseDocument<T>, next: (err?: NativeError) => void): void