Now errors are returned by functions as string array