BKTResult<T>.failure constructor

BKTResult<T>.failure(
  1. String message, {
  2. BKTException? exception,
})

Implementation

BKTResult.failure(
  String message, {
  BKTException? exception,
}) : this._(Failure(message, exception: exception));