Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'errore WaitlistEntry può verificarsi durante la creazione di una voce della lista d'attesa.
//Statusdatathatconveyswhycreatingawaitlistentryfails.//Ifthereisabusinesslogicerrorthatisnotcapturedhere,please//reachouttotheReservewithGoogleteamtoaddittothislist.Other//errorsshouldbereturnedusingstandardHTTPerrorcodes.messageWaitlistBusinessLogicFailure{enumCause{//Defaultvalue:Don't use; amounts to an "unknown error"//UnexpectederrorsmustbereturnedusingstandardHTTPerrorcodes.CAUSE_UNSPECIFIED=0;//Theuserhasalreadybookedawaitlistentrywiththepartner.EXISTING_WAITLIST_ENTRY=1;//Therequestedpartysizeisbelowthemerchant’sminimum.BELOW_MIN_PARTY_SIZE=2;//Therequestedpartysizeisabovethemerchant’smaximum.ABOVE_MAX_PARTY_SIZE=3;//Therequestedmerchantiscurrentlyclosed.MERCHANT_CLOSED=4;//Thereiscurrentlynowaitandtheusershouldwalkinwithoutjoining//thewaitlist.NO_WAIT=5;//Thewaitlistisatcapacityandnewusersarenotbeingacceptedatthis//time.WAITLIST_FULL=6;//Thecountryofthephonenumberisnotsupported.PHONE_NUMBER_COUNTRY_UNSUPPORTED=7;//Thewaitlistisclosedandnotacceptingnewusers.Thisisexpectedwhen//thewaitlistentersstateCLOSED_OTHERaftertheuserhasalreadyseena//waitestimate.WAITLIST_CLOSED=8;}//Required.Thereasonwhythebookingfailed.Causecause=1;//Thisoptionalfieldisusedforthepartnertoincludeadditional//informationfordebuggingpurposesonly.stringdescription=2;}
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-11-26 UTC."],[[["`WaitlistEntry` creation can fail due to various business logic reasons, such as existing entries, party size constraints, merchant status (closed or no wait), waitlist capacity, unsupported phone number country, or waitlist closure."],["If the failure reason isn't explicitly listed in `WaitlistBusinessLogicFailure`, standard HTTP error codes should be used instead, and unexpected errors should be reported."],["`WaitlistBusinessLogicFailure` includes a `cause` field to specify the reason for the failure and an optional `description` field for debugging purposes."]]],[]]