| 95 | } |
| 96 | |
| 97 | export class DatabaseError extends Error implements NoticeOrError { |
| 98 | public severity: string | undefined |
| 99 | public code: string | undefined |
| 100 | public detail: string | undefined |
| 101 | public hint: string | undefined |
| 102 | public position: string | undefined |
| 103 | public internalPosition: string | undefined |
| 104 | public internalQuery: string | undefined |
| 105 | public where: string | undefined |
| 106 | public schema: string | undefined |
| 107 | public table: string | undefined |
| 108 | public column: string | undefined |
| 109 | public dataType: string | undefined |
| 110 | public constraint: string | undefined |
| 111 | public file: string | undefined |
| 112 | public line: string | undefined |
| 113 | public routine: string | undefined |
| 114 | constructor( |
| 115 | message: string, |
| 116 | public readonly length: number, |
| 117 | public readonly name: MessageName |
| 118 | ) { |
| 119 | super(message) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | export class CopyDataMessage { |
| 124 | public readonly name = 'copyData' |
nothing calls this directly
no outgoing calls
no test coverage detected