Err<T extends Object> constructor
Creates a new Err from value
and an optional statusCode
.
Implementation
Err(super.value, {int? statusCode})
: statusCode = Option.from(statusCode),
stackTrace = Trace.current(),
super._();