3 ms·Exceptions are typically faster than error codes when errors are rare.by petters 10y agoExceptions are typically faster than error codes when errors are rare.