Error

protocol Error
  • Converts an error to json to send over the network

    Declaration

    Swift

    public func toJSON() -> [String : Any]