summaryrefslogtreecommitdiff
path: root/Lib/octave/exception.i
blob: bb0b15c9dde4fe0c0df92129f016a6cdd6290f03 (plain)
1
2
3
4
5
6
%include <typemaps/exception.swg>


%insert("runtime") {
  %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
}