Function File: error_report()
: error_report(err)
: error_report(err, fd)

Print an error report for err to a file fd or to stderr

Demonstration 1

The following code

 try
   x = 1:3;
   x(-1) = 5;
 catch
   error_report(lasterror(), stderr);
 end_try_catch

gives an example of how 'error_report' is used.

Package: mboct-octave-pkg