Argyl Posted January 10, 2018 Report Posted January 10, 2018 Wanting to know what it looks like for Steam Comm and Trade Offer Manager, so when certain errors happen I can handle them properly. Thanks! Ps: If this is documented somewhere my apologizes. Quote
Vanilla Posted January 14, 2018 Report Posted January 14, 2018 You can always use: console.log(err); to see what kind error is it. Sometimes the error will show number (enums), this might helpFor example, I want to handle error from EResult "Fail" (Code: 2), so the code is something like this.. //.. some code here if (stuff == SteamUser.EResult.Fail) { //handle code here } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.