Skip to main content

connection.error

Generated from spec/protocol.yaml. Do not edit by hand.

Overview

  • ID: 1004
  • Header: CONNECTION_ERROR
  • Direction: Server to Client (s2c)
  • Realm: Session & Connection
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Report a connection-level error

Payload fields

FieldTypeRequiredDescription
messageIdint32requiredHeader ID of the message that caused the error
errorCodeint32requiredNumeric error code
timestampstringrequiredServer-side timestamp of the error occurrence

Behavior

Sender

Sent by the server when a connection-level error occurs, such as an invalid or unrecognized message from the client. The error includes the offending message ID, a numeric error code, and a timestamp.

Receiver

The client may log the error for debugging, display a generic error notification, or ignore it. This packet does not necessarily cause a disconnect; it is informational.

Notes

  • No additional notes