parameters: (code)
docstring: Get a description text for a Bareos constant.
  
          Args:
             code (int): Bareos ``BNET`` constant.
  
          Returns:
              str: Description for a Bareos ``BNET`` constant or ``None`` if no description exists.
docstring_summary: Get a description text for a Bareos constant.
docstring_tokens: Get a description text for a Bareos constant .
function: def get_description(code):
          """Get a description text for a Bareos constant.
  
          Args:
             code (int): Bareos ``BNET`` constant.
  
          Returns:
              str: Description for a Bareos ``BNET`` constant or ``None`` if no description exists.
          """
          try:
              description = Constants._description[code]
          except KeyError:
              # self.logger.error( "unknown bsock code " + code )
              return
          else:
              return description
function_tokens: def get_description ( code ) : try : description = Constants . _description [ code ] except KeyError : # self.logger.error( "unknown bsock code " + code ) return else : return description