onOutOfMemoryError

Allocates $(D_PSYMBOL OutOfMemoryError) in a static storage and throws it.

@nogc nothrow pure @trusted
void
onOutOfMemoryError
(
string msg = "Out of memory"
)

Parameters

msg string

Custom error message.

Throws

$(D_PSYMBOL OutOfMemoryError).

Meta