Added error codes for VaultManager.