CodeCommit / Client / exceptions / InvalidFilePositionException
InvalidFilePositionException#
- class CodeCommit.Client.exceptions.InvalidFilePositionException#
The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.
Example
try: ... except client.exceptions.InvalidFilePositionException 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) –
The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.
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.