How catch any error in Dlang like Python tray-except?
It is very useful when making tests. But only who came from
interpreted languages can understand.
Exemple:
import std;
void main()
{
try {
writelnX("try function that not exist");
} catch (Throwable e)
{
writeln("Error: %s".format(e.msg));
}
}