HorizonError

public enum HorizonError : Error

Errors that are thrown when removing/adding horizon observer.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Thrown when options are already added.

    Declaration

    Swift

    case optionsAlreadyRegistered
  • Thrown when options are not added.

    Declaration

    Swift

    case optionsNotRegistered
  • Thrown when observer is not added.

    Declaration

    Swift

    case observerNotRegistered
  • Thrown when trying to add an observer that was already added.

    Declaration

    Swift

    case observerAlreadyRegistered