aErrorMsg -> msg.

Let's also give a onSuccess, onError names to your callbacks.