AWSErrorResult<V extends Object?, E extends Exception> constructor

const AWSErrorResult<V extends Object?, E extends Exception>(
  1. E exception, [
  2. StackTrace? stackTrace
])

A failed AWSResult.

For failed results, value will always throw and exception is guaranteed to not be null.

Implementation

const AWSErrorResult(this.exception, [this.stackTrace]) : super._();