What does errno 89 (ECANCELED) mean?

 
Could be also:
ConstantTypeOS
ERROR_NO_PROC_SLOTSWin32 errorWindows
EDESTADDRREQerrnoLinux
ENOSYSerrnoSolaris
PINBALL_FILE_SYSTEMBugCheck CodeWindows
Previous Next
EDESTADDRREQ ENOSYS

ECANCELED

Cancellation is a state transition

ECANCELED means that an operation ended through cancellation rather than normal success, a peer refusal, or an elapsed deadline. It does not by itself say whether data was transferred, whether a request reached an external system, or whether completion callbacks have already run.

Safe recovery depends on the operation’s state machine. Record the cancellation initiator, the stage reached, and the ownership of buffers, descriptors, and callbacks. Retrying a non-idempotent request without knowing whether the original operation became visible can duplicate work.

Questions to answer before retrying

  • Was the operation queued, started, partially completed, or already committed when cancellation was requested?
  • Who now owns associated buffers and completion objects, and are late completions still possible?
  • Does the higher-level protocol have an idempotency key or another way to detect a prior effect?

References


Looking for a different code? Search another status or error code.