Error (code) interface
Function
Creates a return information object based on the Code enumeration.
C Prototype
explicit Error(Code code = Code::OK);
Python Function
Error(code)
Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
code |
Mandatory |
Error code |
Code enumeration type. |
Usage Example
Construct an information object by using the code enumeration.
1 2 | code = llm_manager_python.Code.OK error = Error(code) |
Parent topic: Error