maybeResponse<T> method

Maybe<T> maybeResponse<T>()

Implementation

Maybe<T> maybeResponse<T>() =>
    this is HttpError<T> ? (this as HttpError<T>).response : const Nothing();