19namespace mqss::qrmci {
32 enum class Kind : std::uint8_t {
std::string_view toString(Error::Kind kind) noexcept
Name an error kind for a log line.
A failure reported by a QRM&CI operation: a kind the caller can act on, plus a human-readable detail ...
Kind
What kind of failure occurred.
@ ConfigError
The configuration file exists but could not be parsed or failed validation.
@ SubmissionFailed
The device refused the job at submission time.
@ MessagingFailed
A messaging operation against the broker failed.
@ CompilationFailed
The compiler rejected the task's circuit – the submitter's input is at fault.
@ DriverUnavailable
The QDMI driver could not be used: the driver library was not found or would not load,...
@ Internal
An invariant this process relies on was violated, for a human to see.
@ DeviceError
The device took the job but produced no usable result.
@ UnsupportedFormat
The circuit format is not one the compiler or the backend accepts – the submitter's input is at fault...
@ ShutdownRequested
Daemon shutdown was requested while an interruptible operation was in progress.
@ NoBackendAvailable
No registered backend can run the task.
Kind kind
The kind of failure, for a caller deciding what to do next.
std::string detail
A human-readable description, for log lines and for the cancellation message sent back to the task's ...