new Error(error)
Create a new TpmPrivateKey.Error to report an error in private key processing.
Call with: throw new TpmPrivateKey.Error(new Error("message")).
Parameters:
| Name | Type | Description |
|---|---|---|
error |
Error | The exception created with new Error. |
- Source: