Allow errorOn to accept a callback that will be executed before instructing orc to fail