Status (code) interface
Function
Creates a return information object based on the Code enumeration.
C Prototype
explicit Status(Error::Code code = Error::Code::OK) noexcept
Python Function
Status(code)
Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
code |
Mandatory |
Error code |
Enumerated type of the code. For details, see Code Enumeration. |
Usage Example
Creates a return information object based on the Code enumeration.
1 2 | code = llm_manager_python.Code.OK status = Status(code) |
Parent topic: Status