rdoc Question: How to document which exceptions a function raises

B

Brian Schröder

Hello Group,

is there already a possibility in rdoc to document which exceptions a
function raises? Somethink like the :yield: keyword.

I did not find anything in the rdoc documentation.

regards,

Brian Schröder
 
A

Austin Ziegler

Hello Group,

is there already a possibility in rdoc to document which exceptions a
function raises? Somethink like the :yield: keyword.

I did not find anything in the rdoc documentation.

Best to write it out if you must document it. Having something more or
less automatically generated leads to the concept of "checked"
exceptions, which C++ and Java users are now realising were a huge
mistake.

-austin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top