Enum SteamNetworkErrorKind
- Namespace
- SteamNetworkLib.Exceptions
- Assembly
- SteamNetworkLib.dll
Identifies the broad reason a SteamNetworkLib operation failed.
public enum SteamNetworkErrorKind
Fields
InvalidSteamId = 4A Steam ID was missing, zero, nil, or otherwise invalid.
LobbyDataFailed = 12Steamworks or SteamNetworkLib rejected a lobby data operation.
MemberDataFailed = 13Steamworks or SteamNetworkLib rejected a member data operation.
MessageFormatInvalid = 9A packet or serialized message did not match the expected format.
MessageTypeMismatch = 10A packet's message type did not match the expected message class.
NotInLobby = 3The operation requires an active lobby or networking session.
NotInitialized = 2SteamNetworkLib was used before initialization completed.
PacketTooLarge = 6A packet or payload exceeded the configured or Steamworks packet limit.
PermissionDenied = 5The operation requires host ownership or elevated lobby authority.
SerializationFailed = 7A message or payload could not be serialized.
SessionFailed = 11A P2P session could not be established or failed while active.
Steamworks is unavailable or has not initialized for the current process.
Unknown = 0No specific failure kind was provided.
ValidationFailed = 8A 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.