(condition: unknown, message: string)
| 12 | * @param message |
| 13 | */ |
| 14 | export function assertAlways(condition: unknown, message: string): asserts condition { |
| 15 | if (!condition) { |
| 16 | throw new Error( |
| 17 | `${message}. This should never happen. If you see this error, please, open an issue at https://pris.ly/prisma-prisma-bug-report`, |
| 18 | ) |
| 19 | } |
| 20 | } |