What does ‘boner’ mean?

( n ) A mistake, an error I must have pulled a real boner on the test; I flunked it.
( n ) An erection. I get a boner every time Maureen comes into the room.