From: joey Date: Thu, 7 Sep 2006 15:39:05 +0000 (+0000) Subject: web commit by joey X-Git-Tag: 1.25~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd5f2eadd9c4f3b904e92ca664df16ac5cc054ae;p=ikiwiki.git web commit by joey --- diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 26397db65..8b149da1b 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -167,9 +167,9 @@ This hook is called wheneven ikiwiki normally saves its state, just before the state is saved. The function can save other state, modify values before they're saved, etc. -## Error handing +# Error handing -While a plugin can call ikiwiki's error routine for a fatal error, for +While a plugin can call ikiwiki's `error` routine for a fatal error, for errors that aren't intended to halt the entire wiki build, including bad parameters passed to a [[PreProcessorDirective]], etc, it's better to just return the error message as the output of the plugin.