class_docstr: The ``ClientConnection`` was connected to a Bokeh server, but is
  now disconnected.
class_docstr_tok: ["The","``","ClientConnection","``","was","connected","to","a","Bokeh","server",",","but","is","now","disconnected","."]
docstr: Constructs a DISCONNECT-State with given reason (``ErrorReason``
  enum), error id and additional information provided as string.
docstr_tok: ["Constructs","a","DISCONNECT-State","with","given","reason","(","``","ErrorReason","``","enum",")",",","error","id","and","additional","information","provided","as","string","."]
code: def __init__(
      self,
      reason: ErrorReason = ErrorReason.NO_ERROR,
      error_code: int | None = None,
      error_detail: str = "",
  ) -> None:
      """Constructs a DISCONNECT-State with given reason (``ErrorReason``
      enum), error id and additional information provided as string.
  
      """
      self._error_code = error_code
      self._error_detail = error_detail
      self._error_reason = reason
  
imports: from __future__ import annotations
  import logging
  from abc import ABCMeta, abstractmethod
  from enum import Enum, auto
  from typing import TYPE_CHECKING, Any
  from ..core.types import ID
label_desc: Use image node_id 1 to create a new DISCONNECTED object from inherited base classes: State with example: obj = DISCONNECTED(reason, error_code, error_detail)