Interface ErrorHandler

public interface ErrorHandler

The ErrorHandler class is used when sending messages
that are sent asynchronously and the application still needs to get
confirmation when the message was sent successfully or when a message errored out.