MessageErrorEventArgs

public struct MessageErrorEventArgs

Event arguments that represent a failure to receive a valid message that connected peer tried to send

  • The message’s ID

    Declaration

    Swift

    public let messageId: UInt16
  • The message’s category

    Declaration

    Swift

    public let category: UInt16
  • Associated error message

    Declaration

    Swift

    public let error: String
  • Declaration

    Swift

    public init(messageId: UInt16, category: UInt16, error: String)