GetStatus<T>.error constructor

GetStatus<T>.error(
  1. String message
)

Creates an error status with the given error message.

Implementation

factory GetStatus.error(String message) => ErrorStatus<T, String>(message);