We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
except:
Consider the following example:
import macros macro foo*(s: string{lit}) : expr = try: result = newLit(($s) & ": 42") except: result = newLit("ERROR") echo foo("answer")
Executing this program results in "ERROR" although no exception has been raised.