Added messages for error and cancelation to support XCallback