| 117 | } |
| 118 | |
| 119 | export interface CommonErrorProperties { |
| 120 | /** The database specific error which triggered this one */ |
| 121 | readonly parent: Error; |
| 122 | |
| 123 | /** The database specific error which triggered this one */ |
| 124 | readonly original: Error; |
| 125 | |
| 126 | /** The SQL that triggered the error */ |
| 127 | readonly sql: string; |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Thrown when a record was not found, Usually used with rejectOnEmpty mode (see message for details) |
nothing calls this directly
no outgoing calls
no test coverage detected