Creates an erroneous Result with the given error.
// prints "Err(error)" print(const Err<int, String>('error'));
@literal const Err(this.error) : super._();