ResourceResponseError

public enum ResourceResponseError: Int

An enum representing the possible error codes the Giant Bomb API can throw back in it’s responses.

  • An invalid API key was provided. Check the API has been initialised with an appropriate SwiftBombConfig and that the provided API key is OK.

    Declaration

    Swift

    case invalidAPIKey = 100
  • An invalid resource was requested.

    Declaration

    Swift

    case resourceNotFound = 101
  • An issue with the request. If you receive this issue, please file a bug on the Github repo.

    Declaration

    Swift

    case malformedRequest = 102
  • An error with the filter type passed in.

    Declaration

    Swift

    case filterError = 104
  • A subscriber-only video was requested with a free member’s API key.

    Declaration

    Swift

    case subscriberOnlyVideo = 105