Return the stored error code, or a default-constructed code on success.
Declared in <llvm/Support/ErrorOr.h>
<llvm/Support/ErrorOr.h>
std::error_code getError() const;
The stored error code, or a default-constructed code on success.