Interface EventMap

interface EventMap {
    end: [null | ErrnoException];
    error: [DatabaseError];
    notice: [ClientNotice];
    notification: [Notification];
}

Properties

end: [null | ErrnoException]

The connection has ended, possibly due to a network error.

error: [DatabaseError]

A database error has occurred.

notice: [ClientNotice]

A client notice (typically a warning) has been received.

notification: [Notification]

A client notification has been received.