to subscribe to error you can use:
model.attachRequestFailed
to subscribe to success you can use above code - Binding.attachDataReceived
to subscribe to error you can use:
model.attachRequestFailed
to subscribe to success you can use above code - Binding.attachDataReceived