SWError

@objc
public class SWError : NSObject

This is a model returned by the SplytWidget when errors have occured. The code and message can be used to understand what caused the error.

Initialise

  • Converts the error object into a readable string.

    Declaration

    Swift

    @objc
    public func toString() -> String