| 2 | public: |
| 3 | |
| 4 | void ThrowDataConversionError(Napi::Env env, sqlite3_context* invocation, bool isBigInt) { |
| 5 | if (isBigInt) { |
| 6 | ThrowRangeError(env, (GetDataErrorPrefix() + " a bigint that was too big").c_str()); |
| 7 | } else { |
| 8 | ThrowTypeError(env, (GetDataErrorPrefix() + " an invalid value").c_str()); |
| 9 | } |
| 10 | PropagateJSError(invocation); |
| 11 | } |
| 12 | |
| 13 | protected: |
| 14 |
no test coverage detected