Throwable.refcount

uint refcount() @system @nogc pure nothrow ref return

Returns

mutable reference to the reference count, which is

0 - allocated by the GC, 1 - allocated by _d_newThrowable(), and >=2 which is the reference count + 1

Note

Marked as @system to discourage casual use of it.