aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/-result/-failure/index.html
blob: 512dbb32d54c01a88b3f93a74bfdc580ebebf8da (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Result.Failure - kvision</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">Result</a>&nbsp;/&nbsp;<a href="./index.html">Failure</a><br/>
<br/>
<h1>Failure</h1>
<code><span class="keyword">class </span><span class="identifier">Failure</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing/index.html"><span class="identifier">Nothing</span></a><span class="symbol">,</span>&nbsp;<a href="index.html#E"><span class="identifier">E</span></a><span class="symbol">&gt;</span></code>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">Failure</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Result.Failure$<init>(pl.treksoft.kvision.cordova.Result.Failure.E)/error">error</span><span class="symbol">:</span>&nbsp;<a href="index.html#E"><span class="identifier">E</span></a><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="error.html">error</a></p>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">error</span><span class="symbol">: </span><a href="index.html#E"><span class="identifier">E</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="component2.html">component2</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">component2</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#E"><span class="identifier">E</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<p><a href="equals.html">equals</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">equals</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Result.Failure$equals(kotlin.Any)/other">other</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="get.html">get</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing/index.html"><span class="identifier">Nothing</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="get-exception.html">getException</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getException</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#E"><span class="identifier">E</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="hash-code.html">hashCode</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">hashCode</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="to-string.html">toString</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../component1.html">component1</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">component1</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../index.html#V"><span class="identifier">V</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<p><a href="../fold.html">fold</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">X</span><span class="symbol">&gt;</span> <span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Result$fold(kotlin.Function1((pl.treksoft.kvision.cordova.Result.V, pl.treksoft.kvision.cordova.Result.fold.X)), kotlin.Function1((pl.treksoft.kvision.cordova.Result.E, pl.treksoft.kvision.cordova.Result.fold.X)))/success">success</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../index.html#V"><span class="identifier">V</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../fold.html#X"><span class="identifier">X</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Result$fold(kotlin.Function1((pl.treksoft.kvision.cordova.Result.V, pl.treksoft.kvision.cordova.Result.fold.X)), kotlin.Function1((pl.treksoft.kvision.cordova.Result.E, pl.treksoft.kvision.cordova.Result.fold.X)))/failure">failure</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../index.html#E"><span class="identifier">E</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../fold.html#X"><span class="identifier">X</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../fold.html#X"><span class="identifier">X</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>