[Template Lib] Update t_iserror to accept array of