Interface QueryErrorEvent

Event emitted when a query fails.

interface QueryErrorEvent {
    type: "query:error";
    statement: string;
    error: Error;
    duration: number;
    timestamp: Date;
    queryId?: string;
}

Properties

type
statement: string
error: Error
duration: number
timestamp: Date
queryId?: string