EC2 > Structures > LastError LastError¶ Structure Class¶ LastError dataclass ¶ Bases: _SerdeShape The last error that occurred for a VPC endpoint. Attributes¶ code class-attribute instance-attribute ¶ code: str | None = ... The error code for the VPC endpoint error. message class-attribute instance-attribute ¶ message: str | None = ... The error message for the VPC endpoint error.