Every Vault session writes a detailed error status to stderr, as follows:
If the error generated by the Vault session is less than or equal to 255, it will return the actual error code. Error codes less than or equal to 255 (except 252) map to standard NetBackup error codes and are documented in the NetBackup Troubleshooting Guide.
If the Vault session fails with an error code greater than 255, it returns error code 252 and the actual error code is written to stderr. Codes greater than 255 are called NetBackup Extended Error Codes and are not supported by all operating systems.