Handle application/extension specific errors more clearly

Description

Some XEP define their specific error conditions and types.
Make sure that they are clearly communicated from which extension the error came from.
For example AMP, http://xmpp.org/extensions/xep-0079.html#errors

Environment

None
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Mark Walters

Reporter

Juga Paazmaya