Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: asherkin
Forum: Extensions 09-04-2017, 14:24
Replies: 116
Views: 116,834
Posted By asherkin
Re: REST in Pawn - Communicate with JSON REST APIs

This is exactly it.

(Yes, a KeyExists function and throwing on invalid keys would also be suitable for the error model, but you pay the hash and lookup penalty twice, so it is simpler in that case...
Forum: Extensions 09-02-2017, 04:32
Replies: 116
Views: 116,834
Posted By asherkin
Re: REST in Pawn - Communicate with JSON REST APIs

Hmm, that behaviour is wrong according to the SourceMod error model - errors should always be avoidable and thus always caused by programmer error (either due to misuse or missing checks).
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 03:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode