blob: a9989874b21a257537632343509c8bd64e50da6a (
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
<h1>SDLFileManagerError Enumeration Reference</h1>
<h3>Section Contents</h3>
<ul>
<li><a href="#section-SDLFileManagerErrorCannotOverwrite">SDLFileManagerErrorCannotOverwrite</a></li>
<li><a href="#section-SDLFileManagerErrorNoKnownFile">SDLFileManagerErrorNoKnownFile</a></li>
<li><a href="#section-SDLFileManagerErrorUnableToStart">SDLFileManagerErrorUnableToStart</a></li>
<li><a href="#section-SDLFileManagerErrorUnableToUpload">SDLFileManagerErrorUnableToUpload</a></li>
<li><a href="#section-SDLFileManagerErrorFileDoesNotExist">SDLFileManagerErrorFileDoesNotExist</a></li>
<li><a href="#section-SDLFileManagerUploadCanceled">SDLFileManagerUploadCanceled</a></li>
<li><a href="#section-SDLFileManagerMultipleFileUploadTasksFailed">SDLFileManagerMultipleFileUploadTasksFailed</a></li>
<li><a href="#section-SDLFileManagerMultipleFileDeleteTasksFailed">SDLFileManagerMultipleFileDeleteTasksFailed</a></li>
</ul>
<h3>Overview</h3>
<p>Errors associated with the SDLFileManager class.</p>
<section class="section task-group-section">
<h3 id="section-SDLFileManagerErrorCannotOverwrite">
SDLFileManagerErrorCannotOverwrite
</h3>
<p>A file attempted to send, but a file with that name already exists on the remote head unit, and the file was not configured to overwrite.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerErrorCannotOverwrite</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">errorCannotOverwrite</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>
<h3 id="section-SDLFileManagerErrorNoKnownFile">
SDLFileManagerErrorNoKnownFile
</h3>
<p>A file was attempted to be accessed but it does not exist.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerErrorNoKnownFile</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">errorNoKnownFile</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>
<h3 id="section-SDLFileManagerErrorUnableToStart">
SDLFileManagerErrorUnableToStart
</h3>
<p>The file manager attempted to start but encountered an error.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerErrorUnableToStart</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">errorUnableToStart</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>
<h3 id="section-SDLFileManagerErrorUnableToUpload">
SDLFileManagerErrorUnableToUpload
</h3>
<p>The file manager was unable to send this file.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerErrorUnableToUpload</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">errorUnableToUpload</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>
<h3 id="section-SDLFileManagerErrorFileDoesNotExist">
SDLFileManagerErrorFileDoesNotExist
</h3>
<p>The file manager could not find the local file.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerErrorFileDoesNotExist</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">errorFileDoesNotExist</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>
<h3 id="section-SDLFileManagerUploadCanceled">
SDLFileManagerUploadCanceled
</h3>
<p>The file manager could not find the local file.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerUploadCanceled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">uploadCanceled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>
<h3 id="section-SDLFileManagerMultipleFileUploadTasksFailed">
SDLFileManagerMultipleFileUploadTasksFailed
</h3>
<p>The file manager could not find the local file.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerMultipleFileUploadTasksFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">multipleFileUploadTasksFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>
<h3 id="section-SDLFileManagerMultipleFileDeleteTasksFailed">
SDLFileManagerMultipleFileDeleteTasksFailed
</h3>
<p>The file manager could not find the local file.</p>
<h4>Objective-C</h4>
<pre class="highlight"><code><span class="n">SDLFileManagerMultipleFileDeleteTasksFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">8</span></code></pre>
<h4>Swift</h4>
<pre class="highlight"><code><span class="k">case</span> <span class="n">multipleFileDeleteTasksFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">8</span></code></pre>
</section>
|