Throw an error if browser detection fails