asError property

  1. @override
Never get asError
override

Caution

asError is unsafe code.
Throwable LoggerResultlErrorB wrapped in Panic then wrapped is not Error.
This method's main uses is simple notation for test code.

Implementation

@override
Never get asError => Result.panic(LoggerResultlErrorC(), Log(classLocation: Disaster<V, EX, ER>, functionLocation: 'asError'));