Talk:Exception handling

From MapbenderWiki

Jump to: navigation, search

Contents

Which log level is suitable for which event?

Error

An event that prevents Mapbender from working.

Example

  • Any division by zero

Warning

An event that doesn't prevent Mapbender from functioning but does not reflect proper usage.

Example:

  • An element var that is missing but is set with a default value in the script.

Notice

A notice should be helpful for debugging. An event that represents a significant step in a workflow.

Example:

  • All AJAX-Calls, their parameters and replies
Personal tools