"""Constants for errors/exceptions.""" S3_FILE_NOT_FOUND_CODE = 's3_file_not_found' IMAGE_ENCODING_ERROR_CODE = 'image_encoding_error' ERROR_MESSAGES = { S3_FILE_NOT_FOUND_CODE: '{key} not found in bucket {bucket}!', IMAGE_ENCODING_ERROR_CODE: ( 'An error occurred during the encoding. Error message: {message}' ), }