better errors

Instead of throwing a string error, create proper errors: https://github.com/praekelt/vumi-jssandbox-toolkit/blob/master/lib/interaction_machine.js#L44