How to use task_error ? (Writing pretty hooks)

2010-02-03 Thread Thomas Neumann
hiya It seems the documentation is a bit patchy about this. (At least regarding fai-wiki and the webpage.) Am I allowed to use task_error in self-written hooks? If yes: What exactly means e.g. "task_error 801 $RETVAL" ? Is there a list of error codes already in use? May I invent new ones? Back

Re: How to use task_error ? (Writing pretty hooks)

2010-02-04 Thread Thomas Lange
> On Wed, 3 Feb 2010 21:09:31 +0100 (CET), "Thomas Neumann" > said: > Am I allowed to use task_error in self-written hooks? Yes. > If yes: What exactly means e.g. "task_error 801 $RETVAL" ? >From the source lib/subroutintes: ### BEGIN SUBROUTINE INFO # Provides-Var: $task_e