ECR / Client / exceptions / InvalidLayerPartException
InvalidLayerPartException#
- class ECR.Client.exceptions.InvalidLayerPartException#
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
Example
try: ... except client.exceptions.InvalidLayerPartException 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
{ 'registryId': 'string', 'repositoryName': 'string', 'uploadId': 'string', 'lastValidByteReceived': 123, 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
registryId (string) –
The registry ID associated with the exception.
repositoryName (string) –
The repository name associated with the exception.
uploadId (string) –
The upload ID associated with the exception.
lastValidByteReceived (integer) –
The last valid byte received from the layer part upload that is associated with the exception.
message (string) –
The error message associated with the exception.
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.