# Functions
BuildSystemCategoriesFromLabels formats a system.categories string.
CheckAllErrors is a helper function to deal with the number of possible places that an API call can fail.
GetLabelByPrefix takes a list of labels returns the first label matching the specified prefix.