﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2887	Implement construct similar to try/catch	Per Östlund	Martin Sjölund	"I currently find myself writing code like this fairly often:
{{{#!mo
algorithm
  _ := matchcontinue()
    case ()
      equation
        // Do something which might fail.
      then
        ();
    
    else
      equation
        // Do something else.
      then
        ();
  end matchcontinue;
}}}
It would be nice to have some syntactic sugar for this kind of construct, something like:
{{{#!mo
algorithm
  try
    // Do something which might fail.
  else
    // Do something else.
  end try;
}}}
One issue with translating this into a match-statement is that you have to use equations instead of algorithms inside the try-statement though."	enhancement	closed	normal	1.9.1	MetaModelica	trunk	fixed		openmodelicadevelopers@…
