quasar_jobs/error

Canonical errors shared by the facade and implementations.

Types

pub type ConfigError {
  DuplicatePool(String)
  EmptyPoolName
  InvalidWorkers(pool: String, workers: Int)
  InvalidPrefetch(pool: String, prefetch: Int)
  InvalidBufferCapacity(pool: String, capacity: Int)
  DuplicateQueue(String)
  InvalidQueue(String)
  StoreRequired
  InvalidShutdownTimeout(Int)
}

Constructors

  • DuplicatePool(String)
  • EmptyPoolName
  • InvalidWorkers(pool: String, workers: Int)
  • InvalidPrefetch(pool: String, prefetch: Int)
  • InvalidBufferCapacity(pool: String, capacity: Int)
  • DuplicateQueue(String)
  • InvalidQueue(String)
  • StoreRequired
  • InvalidShutdownTimeout(Int)
pub type ExecuteError {
  Overloaded
  PoolNotFound
  Unavailable
  DeadlineExceededMayComplete
  HandlerFailed
  ShuttingDown
}

Constructors

  • Overloaded
  • PoolNotFound
  • Unavailable
  • DeadlineExceededMayComplete
  • HandlerFailed
  • ShuttingDown
pub type JobError {
  QueueNotFound
  WorkerQueueMismatch
  StoreFailure(store.Error)
  JobRuntimeStopping
  RuntimeUnavailable
}

Constructors

  • QueueNotFound
  • WorkerQueueMismatch
  • StoreFailure(store.Error)
  • JobRuntimeStopping
  • RuntimeUnavailable
pub type StartError {
  InvalidConfig(ConfigError)
  RuntimeStartFailed(actor.StartError)
}

Constructors

Search Document