It Basically means that you were caught lollygagging and bullshitting at your job by the supervisor
Employee 1: why did you get written up Employee 2: I got caught in the wash