public function error(Callable $action = null)
	{
		if ($action) $this->errorAction = $action;
		return $this->errorAction;
	}
public function error(Callable $action = null)
	{
		if ($action) $this->errorAction = $action;
		return $this->errorAction;
	}
public function error ( Callable $ action = null ) { if ( $ action ) $ this -> errorAction = $ action ; return $ this -> errorAction ; }
Get or set error action

@param Callable|null $action action to be executed

@return Callable
Get or set error action