Constructor for creating AttachmentError
const AttachmentError({ Key? key, this.size, }) : super(key: key);