heroiclabs / nakama-godot

Godot client for Nakama server written in GDScript.
Apache License 2.0
593 stars 69 forks source link

Added exceptions for ids of wrong type. #189

Open dominiks opened 11 months ago

dominiks commented 11 months ago

After it failed silently on me today because I just sent a String id instead of the NakamaStorageObjectId I added these missing exceptions. I thought about gathering all incorrect ids of the input array but throwing an exception only for the first incorrect one and aborting the operation should suffice as the items are most likely all of the same (incorrect) type.