0 - allocated by the GC, 1 - allocated by _d_newThrowable(), and >=2 which is the reference count + 1
Throwable.refcount
uint refcount() @system @nogc pure nothrow ref returnReturns
mutable reference to the reference count, which is
Note
Marked as
@system to discourage casual use of it.