2 sticks softened unsalted butter, plus more for greasing
1/2 cup sugar
2 teaspoons pure vanilla extract
1 3/4 cups all-purpose flour
1/4 cup unsweetened cocoa powder
2 teaspoons instant espresso powder
1/2 teaspoon salt
2 cups finely chopped pecans
Confectioners' sugar, for coating