numem ~master (2025-12-14T08:31:01.1033613)
Dub
Repo
Result.makeError
numem
optional
Result
Creates an error value.
struct
Result
(T)
@
nogc
static @
trusted
nothrow
typeof
(this)
makeError
(
string
message
)
Parameters
message
string
An UTF-8 encoded error message.
Return Value
Type:
typeof
(this)
A new result.
Meta
Source
See Implementation
numem
optional
Result
functions
get
getOr
properties
error
isOK
static functions
makeError
makeOk
Creates an error value.