Table of Contents

Enum SteamNetworkErrorKind

Namespace
SteamNetworkLib.Exceptions
Assembly
SteamNetworkLib.dll

Identifies the broad reason a SteamNetworkLib operation failed.

public enum SteamNetworkErrorKind

Fields

InvalidSteamId = 4

A Steam ID was missing, zero, nil, or otherwise invalid.

LobbyDataFailed = 12

Steamworks or SteamNetworkLib rejected a lobby data operation.

MemberDataFailed = 13

Steamworks or SteamNetworkLib rejected a member data operation.

MessageFormatInvalid = 9

A packet or serialized message did not match the expected format.

MessageTypeMismatch = 10

A packet's message type did not match the expected message class.

NotInLobby = 3

The operation requires an active lobby or networking session.

NotInitialized = 2

SteamNetworkLib was used before initialization completed.

PacketTooLarge = 6

A packet or payload exceeded the configured or Steamworks packet limit.

PermissionDenied = 5

The operation requires host ownership or elevated lobby authority.

SerializationFailed = 7

A message or payload could not be serialized.

SessionFailed = 11

A P2P session could not be established or failed while active.

SteamUnavailable = 1

Steamworks is unavailable or has not initialized for the current process.

Unknown = 0

No specific failure kind was provided.

ValidationFailed = 8

A value failed validation before it could be sent or persisted.

Remarks

Use this value for diagnostics, retry decisions, and user-facing fallback logic without parsing exception message text. New values may be added over time.