The cross-platform functions now use an error set that contains all possible errors on every platform.