Really? -- Error: function `object.Throwable.message` is not nothrow

Adam D. Ruppe destructionator at gmail.com
Tue Nov 28 23:48:06 UTC 2017


On Tuesday, 28 November 2017 at 23:41:28 UTC, A Guy With a 
Question wrote:
> What's the clean way to extract the message that passes the 
> nothrow argument? Do I really have to embed another try catch?

I didn't even know it had a `message`... you should be able to 
pull the `.msg` member directly though, which is a simple string 
and not a function at all.

http://dpldocs.info/experimental-docs/object.Throwable.html


More information about the Digitalmars-d-learn mailing list