Clarify error behaviour in Prompt

Specify the error to be returned in the case that output commands are executed once output has ceased executing.

Fixes #57