More helpful invalid operation output error

Now includes the type of the output as well as the content

Caveat: What if the prototype has no constructor property? :P