EEXIST
EEXIST is an error code used in POSIX-compliant systems to indicate that a target already exists when an operation requires it not to exist. It is exposed as errno.EEXIST in many programming environments, such as C and languages that mirror POSIX errno values.
The numeric value of EEXIST is typically 17 on most Unix-like systems, but the exact value is
Common contexts where EEXIST is returned include attempts to create something at a path that already exists
EEXIST is distinct from EISDIR, which signals that the existing target is a directory and cannot be
In practice, programs use EEXIST to implement exclusive or idempotent behavior, to detect conflicts when creating