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

Class NoticeMessage

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

Source from the content-addressed store, hash-verified

238}
239
240export class NoticeMessage implements BackendMessage, NoticeOrError {
241 constructor(
242 public readonly length: number,
243 public readonly message: string | undefined
244 ) {}
245 public readonly name = 'notice'
246 public severity: string | undefined
247 public code: string | undefined
248 public detail: string | undefined
249 public hint: string | undefined
250 public position: string | undefined
251 public internalPosition: string | undefined
252 public internalQuery: string | undefined
253 public where: string | undefined
254 public schema: string | undefined
255 public table: string | undefined
256 public column: string | undefined
257 public dataType: string | undefined
258 public constraint: string | undefined
259 public file: string | undefined
260 public line: string | undefined
261 public routine: string | undefined
262}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected