Code Enumeration
Function
Defines error code types.
Format of the C++ enumeration class
enum class Code {
OK,
ERROR,
INVALID_ARG,
NOT_FOUND,
};
Python Interface Format
Code.OK Code.ERROR Code.INVALID_ARG Code.NOT_FOUND
Enum
Enumeration Name |
Description |
|---|---|
OK |
Operation successful |
ERROR |
Operation failed |
INVALID_ARG |
Invalid parameter |
NOT_FOUND |
Specified operation not found |
Parent topic: Structure and Enumeration Description