On Saturday, 12 June 2021 at 02:19:21 UTC, Mike Parker wrote:
On Friday, 11 June 2021 at 20:09:22 UTC, Mike Brown wrote:
The error is flagged on the writeln(e.msg). Do I need to do
something special to pass a string to an exception? dup?
No, that code is fine. You're passing a string lite
On Friday, 11 June 2021 at 20:09:22 UTC, Mike Brown wrote:
The error is flagged on the writeln(e.msg). Do I need to do
something special to pass a string to an exception? dup?
No, that code is fine. You're passing a string literal, so
there's no need for a dup.
On Friday, October 02, 2015 11:44:19 steven kladitis via Digitalmars-d-learn
wrote:
> C:\d\examples>pb2
> =>main's first line
>=>makeOmelet's first line
> =>prepareAll's first line
>=>prepareEggs's first line
> object.Exception@pb2.d(64): Cannot take -8 eggs from the fridge
>
On Friday, 2 October 2015 at 11:44:21 UTC, steven kladitis wrote:
C:\d\examples>pb2
=>main's first line
=>makeOmelet's first line
=>prepareAll's first line
=>prepareEggs's first line
object.Exception@pb2.d(64): Cannot take -8 eggs from the fridge
0x00402252
0x0040512F
On Friday, 2 October 2015 at 12:45:38 UTC, steven kladitis wrote:
On Friday, 2 October 2015 at 12:18:36 UTC, Dmitri wrote:
On Friday, 2 October 2015 at 11:44:21 UTC, steven kladitis
wrote:
C:\d\examples>pb2
=>main's first line
=>makeOmelet's first line
=>prepareAll's first line
=>pr
On Friday, 2 October 2015 at 12:18:36 UTC, Dmitri wrote:
On Friday, 2 October 2015 at 11:44:21 UTC, steven kladitis
wrote:
C:\d\examples>pb2
=>main's first line
=>makeOmelet's first line
=>prepareAll's first line
=>prepareEggs's first line
object.Exception@pb2.d(64): Cannot take -8 e
On Friday, 2 October 2015 at 11:44:21 UTC, steven kladitis wrote:
C:\d\examples>pb2
=>main's first line
=>makeOmelet's first line
=>prepareAll's first line
=>prepareEggs's first line
object.Exception@pb2.d(64): Cannot take -8 eggs from the fridge
0x00402252
0x0040512F