# ErrorCategory Enumeration

    public enum ErrorCategory : Int

`ErrorCategory` defines a set of categories representing the broad classification of errors within the SDK.

- `network`

  Errors from the network stack.

  #### Declaration

  Swift

      case network = 1

- `text`

  Errors parsing text streams.

  #### Declaration

  Swift

      case text = 2

- `media`

  Errors parsing or processing audio or video streams.

  #### Declaration

  Swift

      case media = 3

- `manifest`

  Errors parsing the Manifest.

  #### Declaration

  Swift

      case manifest = 4

- `drm`

  Errors related to DRM

  #### Declaration

  Swift

      case drm = 5

- `player`

  Miscellaneous errors from the player.

  #### Declaration

  Swift

      case player = 6

- `cast`

  Errors related to cast.

  #### Declaration

  Swift

      case cast = 7

- `ads`

  Errors related to Ads.

  #### Declaration

  Swift

      case ads = 8

- `analytics`

  Errors related to Analytics.

  #### Declaration

  Swift

      case analytics = 9

- `downloader`

  Errors related to download plugin.

  #### Declaration

  Swift

      case downloader = 10

- `storage`

  Errors related to file storage.

  #### Declaration

  Swift

      case storage = 11

- `playlist`

  Errors related to playlists.

  #### Declaration

  Swift

      case playlist = 12

- `system`

  Errors related to the platform.

  #### Declaration

  Swift

      case system = 100

- `plugin`

  Errors related to plugins.

  #### Declaration

  Swift

      case plugin = 500

- `sdk`

  General SDK errors.

  #### Declaration

  Swift

      case sdk = 1000