code: def error(self, error):
      self.message("ERROR: %s" % error)
  
imports: from logging import getLogger
  import os
  import sys
  import time
  import getpass
  from collections import deque
  from copy import copy
  from ..utils import auto_repr
  from ..utils import on_windows
  from .base import InteractiveUI
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 3 for calling the ConsoleLog obj's underlying member method code with example usage: obj.error(error) without return types