CaravelError

public enum CaravelError: ErrorType

CaravelError

Potential erros that Caravel might throw

  • An EventBus’ draft was used twice, which is forbidden

    Declaration

    Swift

    case DraftUsedTwice
  • An unsupported type was provided when posting an event from iOS

    Declaration

    Swift

    case SerializationUnsupportedData
  • User is trying to create a bus with a subscriber identical to the watched target

    Declaration

    Swift

    case SubscriberIsSameThanTarget