Added isError to task results

Also added toCufa method to shell result