Skip to content

QuantumGate::Result::GetErrorValue

Karel Donk edited this page Jul 9, 2018 · 1 revision

Returns the error value.

Signature

constexpr int GetErrorValue() const noexcept;

Return values

Returns an integer value with the error code stored in the result. Upon success the error code will be equal to static_cast<int>(ResultCode::Succeeded) or zero. Any other non-zero value indicates a failure.

Clone this wiki locally