An expression of anger or dismay, not always directly related to a 'Trey'. Usually a follow up to a serious mistake made by an incompetent person.
Bob: Steve, somebody just put a stopsign through your rear windshield! Steve: Goddamnit Trey!