| Previous | Next |
| WS_E_OBJECT_FAULTED | WS_E_INVALID_OPERATION |
WS_E_NUMERIC_OVERFLOW
WS_E_NUMERIC_OVERFLOW is a Windows Web Services API HRESULT. It means that converting, parsing, calculating, or serializing a numeric value would exceed the valid range for the target type.
Diagnostic discriminator: Preserve the exact input value, target numeric type, units, and checked calculation that precedes the HRESULT. An in-range control through the same API isolates numeric bounds; endpoint or transport state cannot correct an overflowing conversion.
What to check for WS_E_NUMERIC_OVERFLOW
- Verify the declared numeric type, bounds and units in the message contract.
- Check integer conversions, length calculations, offsets and size multiplications for overflow before the API call.
- Reject invalid input explicitly instead of truncating or wrapping the numeric value.
Looking for a different code? Search another status or error code.