Renaming for error code PRIVATE_IP_ADDRESS

Starting June 8, 2021 the error code PRIVATE_IP_ADDRESS will be renamed to RESERVED_IP_ADDRESS.

If you are using this error code in your code, we suggest updating as soon as possible your code to check the same behavior is applied whether the old or the new error code is returned.

For instance, if you have something like this:

if ("PRIVATE_IP_ADDRESS".equals(exception.code)) { ... }

You should update your code to something like that:

if ("PRIVATE_IP_ADDRESS".equals(exception.code) ||
"RESERVED_IP_ADDRESS".equals(exception.code)) { ... }

Then, after the date mentioned above, you can safely remove the conditional statement that involves the old error code.