Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Enums LinuxError

1
2
3
4
5
6
7
8
9
module juptune.core.internal.linux;

enum LinuxError : int
{
    ///
    none = 0, 
    ///
    cancelled = 125
}

Documentation

Result.make requires an enum type for strong typing, however I'm not going to make let alone maintain a list of all linux errors, so we'll get by with just cast(LinuxError)and cast(int)shennanigans if the error code is truly needed directly from a Result - which chances are unlikely to be the case.

ON THIS PAGE