`cy_t` should store `cy_err_t last_error` so that API functions that return non-`cy_err_t` can still report errors.
cy_tshould storecy_err_t last_errorso that API functions that return non-cy_err_tcan still report errors.