how can i know the line number of the caught Exception inside try, catch ? here is my code:
try{
//your code here
} catch (Exception) {
print('Exception '+Exception.toString());
}
try{
//your code here
} catch (e, stacktrace) {
print('Exception: ' + e.toString());
print('Stacktrace: ' + stacktrace.toString());
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With