HaxeFoundation / HaxeFoundation/haxe
[hl][cpp] mysql-sqlite: try..catch can't catch any error request
Open
platform-cpp
platform-hl
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
import sys.db.Mysql;
class Test {
static function main() {
var cnx = neko.db.Mysql.connect({
host: "localhost",
port: 3306,
user: "root",
pass: "",
socket: null,
database: "MyBase"
});
try {
cnx.request("select * from noexistTable");//will throw error and crash..
} catch (e:Dynamic) {
trace("can't catch anyting");
}
}
}
```
target:hashlink ,hxcpp
Contributor guide
Assessment
This issue has not been assessed yet.