Lambda > Structures > FunctionCodeLocationError FunctionCodeLocationError¶ Structure Class¶ FunctionCodeLocationError dataclass ¶ Contains details about an error that occurred when Lambda attempted to retrieve a function's deployment package. Attributes¶ error_code class-attribute instance-attribute ¶ error_code: str | None = None The error code that identifies why Lambda failed to retrieve the deployment package. message class-attribute instance-attribute ¶ message: str | None = field(repr=False, default=None) The human-readable message that describes why Lambda failed to retrieve the deployment package.