asException property
Caution
asException is unsafe code.
Throwable LoggerResultlErrorB wrapped in Panic then wrapped is not Exception.
This method's main uses is simple notation for test code.
Implementation
@override
Never get asException => Result.panic(LoggerResultlErrorB(), Log(classLocation: Panic<E>, functionLocation: 'asException'));