Removed legacy driver API call, updated runtime API error handler