Outdated information on GlobalDataStore page

http://wiki.roblox.com/index.php?title=API:Class/GlobalDataStore

"When receiving the non-breaking “Request rejected” error, the GetAsync method will return the string literal “Request rejected”, not nil as is expected. "

Is this still (if only partially) the case? Based on this post it looks like it’s properly treated as an error now.

What is a non-breaking request rejected error? Having it return an error code that could actually be the value sounds like a bad idea. In what case would I want my code to only sometimes break when the request is rejected?

Yeah, the design for what’s described is really bad. Luckily it seems that it’s now properly treated as an error, but maybe that’s not entirely the case.

What a weird phrase. I’m not sure where that came from (although apparently I wrote it?). I have removed it as it is inaccurate and the function should actually error. Plus, the class description page shouldn’t really be going into errors for individual functions like that.

1 Like