TSS2_Exception¶
- class tpm2_pytss.TSS2_Exception(rc)[source]¶
TSS2_Exception represents an error returned by the TSS APIs.
- property error¶
The error with handle, parameter and session stripped.
- Type:
int
- property fmt1¶
True if the error is related to a handle, parameter or session
- Type:
bool
- property handle¶
The handle related to the error, 0 if not related to any handle.
- Type:
int
- property parameter¶
The parameter related to the error, 0 if not related to any parameter.
- Type:
int
- property rc¶
The return code from the API call.
- Type:
int
- property session¶
The session related to the error, 0 if not related to any session.
- Type:
int