CodeCommit / Client / exceptions / DirectoryNameConflictsWithFileNameException
DirectoryNameConflictsWithFileNameException#
- class CodeCommit.Client.exceptions.DirectoryNameConflictsWithFileNameException#
A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file.
Example
try: ... except client.exceptions.DirectoryNameConflictsWithFileNameException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{}
Structure
(dict) –
A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.