Skip to content

vllm.v1.engine.exceptions

Classes:

EngineDeadError

Bases: VLLMServerError

Raised when the EngineCore dies. Unrecoverable.

str(exc) is the log-oriented message for server logs and offline tracebacks; CLIENT_MESSAGE is what API clients receive.

EngineGenerateError

Bases: VLLMServerError

Raised when a AsyncLLM.generate() fails. Recoverable.

EngineSleepingError

Bases: EngineUnhealthyError

Raised when the engine is intentionally sleeping or paused.

EngineUnhealthyError

Bases: VLLMServerError

Raised when the engine is alive but not ready to serve traffic.

Parameters:

  • message

    (str, default: '' ) –

    Human-readable description.

  • reason

    (str, default: 'unhealthy' ) –

    Machine-readable not-ready reason reported by /health_generate.

  • details

    (Any, default: {} ) –

    Extra JSON-serializable fields reported by /health_generate.