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 registered.
Declaration
Swift
case optionsAlreadyRegistered
-
Thrown when options are not registered.
Declaration
Swift
case optionsNotRegistered
-
Thrown when observer is not registered.
Declaration
Swift
case observerNotRegistered
-
Thrown when trying to add an observer that was already registered.
Declaration
Swift
case observerAlreadyRegistered