set $app->errors