On Monday, 11 May 2026 at 04:18:33 UTC, Alex wrote:
catch (FileException fe) {
writeln("File Exception: ", fe);
You might want to change `fe` to `fe.msg`, otherwise it will print the stack trace too, which is confusing.
Nick Treleaven via Digitalmars-d-learn Mon, 11 May 2026 03:46:37 -0700
On Monday, 11 May 2026 at 04:18:33 UTC, Alex wrote:
catch (FileException fe) {
writeln("File Exception: ", fe);
You might want to change `fe` to `fe.msg`, otherwise it will print the stack trace too, which is confusing.