1
2
3
4
5
6
7
8
9
10
11
12
pub const RESULT_MODULE: u32 = 1;

result_define_group!(RESULT_MODULE => {
    InvalidSize: 101,
    InvalidAddress: 102,
    InvalidHandle: 114,
    TimedOut: 117,
    Cancelled: 118,
    SessionClosed: 123,
    NotHandled: 124,
    Debug: 128
});