Added basic error reporting to coke code

UCC git Repository :: git.ucc.asn.au