This is built around fast-float. Factor the error type from this and wcstoi() together into a shared type.