Reason

public enum Reason : Int

Enum describing various failure reasons or contextual information for some events.

  • No reason has been set by the core.

    Declaration

    Swift

    case None = 0
  • No response received from remote.

    Declaration

    Swift

    case NoResponse = 1
  • Authentication failed due to bad credentials or resource forbidden.

    Declaration

    Swift

    case Forbidden = 2
  • The call has been declined.

    Declaration

    Swift

    case Declined = 3
  • Destination of the call was not found.

    Declaration

    Swift

    case NotFound = 4
  • The call was not answered in time (request timeout)

    Declaration

    Swift

    case NotAnswered = 5
  • Phone line was busy.

    Declaration

    Swift

    case Busy = 6
  • Unsupported content.

    Declaration

    Swift

    case UnsupportedContent = 7
  • Bad event.

    Declaration

    Swift

    case BadEvent = 8
  • Transport error: connection failures, disconnections etc…

    Declaration

    Swift

    case IOError = 9
  • Do not disturb reason.

    Declaration

    Swift

    case DoNotDisturb = 10
  • Operation is unauthorized because missing credential.

    Declaration

    Swift

    case Unauthorized = 11
  • Operation is rejected due to incompatible or unsupported media parameters.

    Declaration

    Swift

    case NotAcceptable = 12
  • Operation could not be executed by server or remote client because it didn’t have any context for it.

    Declaration

    Swift

    case NoMatch = 13
  • Resource moved permanently.

    Declaration

    Swift

    case MovedPermanently = 14
  • Resource no longer exists.

    Declaration

    Swift

    case Gone = 15
  • Temporarily unavailable.

    Declaration

    Swift

    case TemporarilyUnavailable = 16
  • Address incomplete.

    Declaration

    Swift

    case AddressIncomplete = 17
  • Not implemented.

    Declaration

    Swift

    case NotImplemented = 18
  • Bad gateway.

    Declaration

    Swift

    case BadGateway = 19
  • The received request contains a Session-Expires header field with a duration below the minimum timer.

    Declaration

    Swift

    case SessionIntervalTooSmall = 20
  • Server timeout.

    Declaration

    Swift

    case ServerTimeout = 21
  • Unknown reason.

    Declaration

    Swift

    case Unknown = 22