(bug 45277) Introducing ApiErrorReporter

Change-Id: Ibb169101bd75e4244ba7cae404ccaf49b9b3171d