MCPcopy
hub / github.com/electric-sql/pglite / NoticeOrError

Interface NoticeOrError

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

Source from the content-addressed store, hash-verified

125 | AuthenticationSASLFinal
126
127interface NoticeOrError {
128 message: string | undefined
129 severity: string | undefined
130 code: string | undefined
131 detail: string | undefined
132 hint: string | undefined
133 position: string | undefined
134 internalPosition: string | undefined
135 internalQuery: string | undefined
136 where: string | undefined
137 schema: string | undefined
138 table: string | undefined
139 column: string | undefined
140 dataType: string | undefined
141 constraint: string | undefined
142 file: string | undefined
143 line: string | undefined
144 routine: string | undefined
145}
146
147export class DatabaseError extends Error implements NoticeOrError {
148 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