ResultUnwrapException<T, E> constructor

ResultUnwrapException<T, E>([
  1. String? message
])

Implementation

ResultUnwrapException([String? message])
    : message = message ?? 'A Result<$T, $E>() cannot be unwrapped';