public static Exception/*!*/ NonBlockingError(RubyContext/*!*/ context, Exception/*!*/ exception, bool isRead) {
RubyModule waitReadable;
if (context.TryGetModule(isRead ? typeof(WaitReadable) : typeof(WaitWritable), out waitReadable)) {
ModuleOps.ExtendObject(waitReadable, exception);
}
return exception;
}