| 75 | } |
| 76 | |
| 77 | interface 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 | |
| 97 | export class DatabaseError extends Error implements NoticeOrError { |
| 98 | public severity: string | undefined |
nothing calls this directly
no outgoing calls
no test coverage detected