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