2.16 General Error Codes

General error codes pertain to types of errors which are not specific to any particular PPTP request, but rather to protocol or message format errors.  If a PPTP reply indicates in its Result Code that a general error occurred, the General Error value should be examined to determined what the error was.  The currently defined General Error codes and their meanings are:

0 (None) - No general error

1 (Not-Connected) - No control connection exists yet for this PAC-PNS pair

2 (Bad-Format) - Length is wrong or Magic Cookie value is incorrect

3 (Bad-Value) - One of the field values was out of range or reserved field was non-zero

4 (No-Resource) - Insufficient resources to handle this command now

5 (Bad-Call ID) - The Call ID is invalid in this context

6 (PAC-Error) - A generic vendor-specific error occurred in the PAC