enforceValidHandle
fn
void enforceValidHandle(T)(T handle, string msg = "Invalid or null handle")Enforces that a handle is not null.
Parameters
handle | The handle to check |
msg | Custom error message |
Throws
InvalidHandleException if handle is null