Add error reporting API / report errors to statsd