MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / TransformError_

Method TransformError_

IntelPresentMon/CommonUtilities/pipe/Pipe.cpp:232–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 }
231
232 void DuplexPipe::TransformError_(const boost::system::error_code& ec)
233 {
234 if (ec) {
235 if (ec == as::error::broken_pipe || ec.value() == 232/* Pipe is being closed */) {
236 throw Except<PipeBroken>();
237 }
238 else if (ec.value() == 995) {
239 throw Except<PipeOperationCanceled>();
240 }
241 else {
242 throw Except<PipeError>(ec.what());
243 }
244 }
245 }
246}

Callers

nothing calls this directly

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected