| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This would be a good thing in theory, but it would require a major version bump. Maybe we can include that when we need to break backwards compatibility anyway |
Sorry, something went wrong.
|
Makes sense. Would it be possible to make a prerelease of some sort which includes this? Or is it too far in time? |
Sorry, something went wrong.
|
Another suggestion: Something like const initSqlJs = require('sql.js');
initSqlJs.throwAsErrors = true; |
Sorry, something went wrong.
|
Definitely a good way to incorporate the behaviour keeping it optional and eventually making it the default whenever a major bump is planned. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Throwing strings makes it difficult to debug for specific issues when working on projects that use sql.js.
Replaced string with Errors when being thrown. (Really just using a constructor around the string).