What do you think to add as parameter to the error callback an error object like https://github.com/mozilla-b2g/gaia/pull/8302/files#L0R68?

{ status, message } I don't know the correct attributes :)

so third apps expect always an error object