From cd5f2eadd9c4f3b904e92ca664df16ac5cc054ae Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 7 Sep 2006 15:39:05 +0000 Subject: [PATCH] web commit by joey --- doc/plugins/write.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.