docs: def create_exception_by_error_code(
      errorCode,
      detailCode='0',
      description='',
      traceInformation=None,
      identifier=None,
      nodeId=None,
  ):
      """Create a DataONE Exception object by errorCode.
  
      See Also:   For args, see: ``DataONEException()``
  
      """
      try:
          dataone_exception = ERROR_CODE_TO_EXCEPTION_DICT[errorCode]
      except LookupError:
          dataone_exception = ServiceFailure
      return dataone_exception(
          detailCode, description, traceInformation, identifier, nodeId
      )