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());
}