| 12666 | |
| 12667 | |
| 12668 | ResultType Script::Win32Error(DWORD aError, ResultType aErrorType) |
| 12669 | { |
| 12670 | TCHAR number_string[_MAX_ULTOSTR_BASE10_COUNT]; |
| 12671 | // Convert aError to string to pass it through RuntimeError, but it will ultimately |
| 12672 | // be converted to the error number and proper message by OSError.Prototype.__New. |
| 12673 | _ultot(aError, number_string, 10); |
| 12674 | return RuntimeError(number_string, _T(""), aErrorType, nullptr, ErrorPrototype::OS); |
| 12675 | } |
| 12676 | |
| 12677 | |
| 12678 | ResultType Line::ThrowIfTrue(bool aError) |
no outgoing calls
no test coverage detected