Throw errors when user attempts to query route before it is initialized