MCPcopy
hub / github.com/brianc/node-postgres / NoticeOrError

Interface NoticeOrError

packages/pg-protocol/src/messages.ts:77–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77interface NoticeOrError {
78 message: string | undefined
79 severity: string | undefined
80 code: string | undefined
81 detail: string | undefined
82 hint: string | undefined
83 position: string | undefined
84 internalPosition: string | undefined
85 internalQuery: string | undefined
86 where: string | undefined
87 schema: string | undefined
88 table: string | undefined
89 column: string | undefined
90 dataType: string | undefined
91 constraint: string | undefined
92 file: string | undefined
93 line: string | undefined
94 routine: string | undefined
95}
96
97export class DatabaseError extends Error implements NoticeOrError {
98 public severity: string | undefined

Callers

nothing calls this directly

Implementers 2

DatabaseErrorpackages/pg-protocol/src/messages.ts
NoticeMessagepackages/pg-protocol/src/messages.ts

Calls

no outgoing calls

Tested by

no test coverage detected