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: The reason for the error encoded as an enumeration value.
  
          
docstr_tok: ["The","reason","for","the","error","encoded","as","an","enumeration","value","."]
code: def error_reason(self) -> ErrorReason:
      """The reason for the error encoded as an enumeration value."""
      return self._error_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 2 for calling the DISCONNECTED obj's underlying member method code with example usage: obj.error_reason() and returns: self