Page 1 of 1

GetLastError()

Posted: Tue Oct 02, 2018 3:03 pm
by RSBasic
WinAPI: GetLastError_()
The return values should be compatible with the following list: https://docs.microsoft.com/en-us/window ... rror-codes
Linux & MacOS: I don't know. (If this function even exists.)

Re: GetLastError()

Posted: Tue Oct 02, 2018 10:42 pm
by HeX0R
+1
The whole error handling of PB needs some improvement, without API you can't really show usable error messages and create professional applications.
If this will be implemented in some near future, don't forget the (quite old) WSAGetLastError() request for network errors!

Re: GetLastError()

Posted: Wed Oct 03, 2018 4:46 am
by Bitblazer