Melt dark chocolate and butter in a double boiler.
Mix eggs and erythritol together in a bowl.
Add the melted chocolate mixture to the egg batter and mix evenly.
Sift almond flour and cocoa powder, then mix well.
Pour the batter into a mold and bake in a preheated oven at 180°C for 20 minutes.