SetErrorMessage
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <register/register_custom_pass.h>
- Library file: libregister.so
Function Usage
Registers error messages reported during graph modification with the framework.
Prototype
1 | void SetErrorMessage(const AscendString &error_message) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
error_message |
Input |
Error message to be registered with the framework. |
Returns
None
Constraints
None
Parent topic: CustomPassContext