I was trying to communicate with a coworker about a JavaScript error I was being notified about in my browser's console window when I realized that I wasn't sure if I should refer to this as a compiler error or a runtime error; especially if said error is only popping up when, let's say, a certain button is clicked. Then I'd suspect that such an event is specifically a runtime error, but I'm not sure.
Maybe this gets into semantics and there's no formal definition, so let me know and I'll take this post down.
EDIT
This is a wonderful post that gives some insight into if JS is compiled or interpreted: