It would depend, of course. If someone does something that results in hurt feelings and nothing else, then an apology would suffice.
But, hypothetically speaking, if someone, on the other hand, figured it would be a good idea to fuck with me in such a way that it would have terrible...