summaryrefslogtreecommitdiff
path: root/docs/Enums/SDLChoiceSetManagerError.html
blob: abb8b4ded875a8085f64ea40bd8c5f8e26fdbf2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<h1>SDLChoiceSetManagerError Enumeration Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-SDLChoiceSetManagerErrorNeededChoicesUnavailable">SDLChoiceSetManagerErrorNeededChoicesUnavailable</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorDeletionFailed">SDLChoiceSetManagerErrorDeletionFailed</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorUploadFailed">SDLChoiceSetManagerErrorUploadFailed</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorFailedToCreateMenuItems">SDLChoiceSetManagerErrorFailedToCreateMenuItems</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorInvalidState">SDLChoiceSetManagerErrorInvalidState</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorCancelled">SDLChoiceSetManagerErrorCancelled</a></li>
  <li><a href="#section-SDLChoiceSetManagerErrorNoIdsAvailable">SDLChoiceSetManagerErrorNoIdsAvailable</a></li>
</ul>

<h3>Overview</h3>

<p>Errors associated with Choice Set Manager class</p>


<section class="section task-group-section">
  <h3 id="section-SDLChoiceSetManagerErrorNeededChoicesUnavailable">
      SDLChoiceSetManagerErrorNeededChoicesUnavailable
  </h3>
  
  <p>Some needed choices for presentation are not available</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorNeededChoicesUnavailable</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">neededChoicesUnavailable</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorDeletionFailed">
      SDLChoiceSetManagerErrorDeletionFailed
  </h3>
  
  <p>The choice set failed to delete</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorDeletionFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">deletionFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorUploadFailed">
      SDLChoiceSetManagerErrorUploadFailed
  </h3>
  
  <p>The upload failed</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorUploadFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">uploadFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorFailedToCreateMenuItems">
      SDLChoiceSetManagerErrorFailedToCreateMenuItems
  </h3>
  
  <p>The menu items failed to be created</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorFailedToCreateMenuItems</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">failedToCreateMenuItems</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorInvalidState">
      SDLChoiceSetManagerErrorInvalidState
  </h3>
  
  <p>Invalid state</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorInvalidState</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">invalidState</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorCancelled">
      SDLChoiceSetManagerErrorCancelled
  </h3>
  
  <p>An operation was cancelled and may or may not have succeeded</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorCancelled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">cancelled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetManagerErrorNoIdsAvailable">
      SDLChoiceSetManagerErrorNoIdsAvailable
  </h3>
  
  <p>No new choices could be loaded because the maximum number of choices are loaded (65535)</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLChoiceSetManagerErrorNoIdsAvailable</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">noIdsAvailable</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>

  
  
  
</section>