Enumerations

The following enumerations are available globally.

  • FetchingStatus indicates current status of both resource-expensive requests (usually a combination of multiple requests) and segmented requests.

    See more

    Declaration

    Swift

    public enum FetchingStatus
    extension FetchingStatus: Equatable
  • Errors occur when composing API requests, might be caused by illegal amount of arguments or arguments of illegal formats.

    See more

    Declaration

    Swift

    public enum HummingKitRequestComposingError : Error
  • Errors occur when certain functionality is unsupported by the system environment, possibly due to the systemversion being outdated and not supporting some newer features.

    See more

    Declaration

    Swift

    public enum HummingKitEnvironmentError : Error
  • Errors occur when the response content does not match format expected, causing parsing failure, possibly caused by corrupted response body, a new version of Apple Music API that has not been adapted by HummingKit, or errounous codes failed to be inspected beforehand.

    See more

    Declaration

    Swift

    public enum HummingKitResponseError : Error
  • Unexpected fatal HummingKit errors, potentially caused by internal bugs. If this type of error has occured, please file an issue on the HummingKit repo at Issues page. Thank you!

    See more

    Declaration

    Swift

    public enum HummingKitInternalError : Error