stick
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
stick
stick-core
/
com.zombachu.stick
/
ParsingResult
/
LiteralNotMatchedError
Literal
Not
Matched
Error
class
LiteralNotMatchedError
<
T
>
:
ParsingResult.TypeMatchError
<
T
>
Members
Members & Extensions
Properties
feedback
Link copied to clipboard
open
override
val
feedback
:
(
)
->
Feedback2
Functions
handle
Link copied to clipboard
inline
fun
<
T
,
R
>
Result
<
T
>
.
handle
(
onSuccess
:
(
Result.Success
<
T
>
)
->
R
,
onFailure
:
(
Result.Failure
<
T
>
)
->
R
)
:
R
is
Success
Link copied to clipboard
fun
<
T
>
Result
<
T
>
.
isSuccess
(
)
:
Boolean
propagate
Error
Link copied to clipboard
inline
fun
<
T2
>
Result
<
*
>
.
propagateError
(
onFailure
:
(
Result.Failure
<
T2
>
)
->
Nothing
)
unsafe
Cast
Link copied to clipboard
fun
<
T2
>
Result.Failure
<
*
>
.
unsafeCast
(
)
:
Result.Failure
<
T2
>
value
Or
Propagate
Error
Link copied to clipboard
inline
fun
<
T
,
T2
>
Result
<
T
>
.
valueOrPropagateError
(
onFailure
:
(
Result.Failure
<
T2
>
)
->
Nothing
)
:
T