Luna::ErrCode
The error code type represents one single error.
struct Luna::ErrCode
In Luna Runtime, every error is represented by one error code, the code value will be determined when the error is firstly accessed, and will never be changed.
Any valid error code number will not be 0.
The error code is wrapped in a unique structure so that it will never be misinterpreted to a normal return value when the function return value is also an integer.
Member objects
-
The identifier of the error code.