/*******************************************************************************
*
* Copyright (c) 2025 - 2026 Haixing Hu.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0.
*
******************************************************************************/
use Error;
use SubmissionError;
use TaskId;
/// Error returned when [`TaskExecutionService`](super::TaskExecutionService)
/// cannot accept a task.
///
/// This error is about the service submission path. The accepted task's own
/// result is still reported through [`TaskHandle`](qubit_executor::TaskHandle).
///