Today I had a code review at a new position I started almost 3 weeks ago. I was assigned a task working with my company's own CMS and a senior dev was supposed to do the code review.
My employer joined in during the review. While we were reviewing we came upon some sloppy mistakes on my end. Nervousness has lead me to neglect some obvious things; I've been unemployed for a long time and this job is a life changer for me.
My employer was fairly upset and during the reviewing session openly mocked my education ("they must've taught you that") and my skills ("Do you not know that? Why do we have to explain this to you") also dropping the "well then I want to see your degree!". At first I was unsure if he was serious I have never encountered this before (due note I am a junior at my position).
Later that day I received a email reinforcing that he does in fact expect me to show up with my college degree. I am unsure how to handle this situation. I was fairly upset and angry at the time (did not act on it). It feels like a very rude thing to say/ask and I'm unsure if I should comply.
The team consists of my employer, 2 senior developers and myself as the recently joined junior developer. I know I'm still considered to be on trial period (first 4 weeks) and my employment contract can be annulled.
Small update: For those curious; the "sloppy mistakes" I was referring to was nothing code-breaking or bug-introducing; Simply stuff like empty variables and some styling mistakes and poor phrasing of front end strings.
Small company, no HR department.
Since the initial incident I have followed the advice from the marked answer. It didn't reinforce their trust in my knowledge and I am working on improving that while looking for another job. There have been more redflags but those are outside the scope of the question. Thanks to everyone who has participated in this question.