[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exceptions handling docs
From: |
Gaius Mulley |
Subject: |
Re: exceptions handling docs |
Date: |
Fri, 01 Nov 2024 21:10:11 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
john o goyo <jog37@riddermarkfarm.ca> writes:
> Greetings, Gaius.
>
> On 2024-11-01 00:22, Gaius Mulley wrote (in part):
>> Alexey Ulasevich <alexey.ulasevich@gmail.com> writes:
>>
>>> Hi,
>>>
>>> Where I can find more information about exceptions handling in GM2? I
>>> mean documentation, examples etc.
>>>
>>>
>>> Thanks,
>>>
>>> Aleksey
>> Hi Aleksey,
>>
>> at present there isn't a section in the gm2 documenation about
>> exception usage. I'll submit a PR requesting one though.
>
> Thank you, that would be useful, Para. 7.3 of ISO/IEC 10514-1
> notwithstanding.
PR 117411 has been created. Yes interesting Para 7.3 is very useful and
may answer the original question. I wonder if the gm2 documentation
might include an example of how a C++ exception can be caught by M2 (and
M2 causing and catching an exception)? It could also contain a section
on how to write a library module using ISO M2Exceptions (Para 7.3)
regards,
Gaius