Update sdk error handling.