Errors

public enum Errors : Error, CustomStringConvertible

Errors thrown my Tim Api.

  • TimApi exception.

    Declaration

    Swift

    case timException(exception: TimException)
  • Value is nil.

    Declaration

    Swift

    case valueIsNil
  • Illegal argument has been specified.

    Declaration

    Swift

    case invalidArgument(name: String, value: String?)
  • Already connected.

    Declaration

    Swift

    case alreadyConnected
  • Not connected.

    Declaration

    Swift

    case notConnected
  • Stream error occured

    Declaration

    Swift

    case streamError
  • Socket error occured

    Declaration

    Swift

    case socketError
  • General error occured

    Declaration

    Swift

    case generalError
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }