next up previous contents
Next: 11.2.4 Adding a classifier Up: 11.2 Adding other classes Previous: 11.2.2 Adding a class   Contents

11.2.3 Reporting errors from tools

When a rule encounters an error, it should raise the following exception, setting tool to a string describing the current tool and msg to a diagnostic string describing the nature of the error:


  exception ToolError of { tool: string, msg: string }



Matthias Blume
2001-07-19