Sync some errors with STD.