resumeWithError method
Resumes a paused execution by raising an error with errorMessage.
Implementation
@override
Future<MontyProgress> resumeWithError(String errorMessage) async {
final response = await _send<_ProgressResponse>(
_ResumeWithErrorRequest(_nextId++, errorMessage),
);
return response.progress;
}