Error

public enum Error: Swift.Error

An error.

  • The client ID and secret could not be retrieved or were invalid.

    Declaration

    Swift

    case invalidKeys
  • No saved authentication details were present.

    Declaration

    Swift

    case noSavedDetails
  • The authentication code returned by the Data Service was invalid or not present.

    Declaration

    Swift

    case invalidAuthenticationCode
  • An access token returned by the Data Service was invalid or not present.

    Declaration

    Swift

    case invalidAccessToken
  • Authentication with the Data Service was unsuccessful.

    Declaration

    Swift

    case authenticationFailed
  • The user’s timetable could not be retrieved from the Data Service.

    Declaration

    Swift

    case unableToRetrieveTimetable
  • The retrieved data for the user’s timetable was invalid.

    Declaration

    Swift

    case invalidTimetable
  • An unexpected error.

    Declaration

    Swift

    case unexpectedError(error: Swift.Error?)