Package hiiragi283.lib.util
Class ErrorTextKt
-
- All Implemented Interfaces:
public final class ErrorTextKt
-
-
Method Summary
Modifier and Type Method Description final static Either<ErrorText, Void>HTTextResult(String value)final static <T extends Any> Either<ErrorText, T>toTextResult(T $self, Function0<String> message)final static <T extends Any> Either<ErrorText, T>printError(Either<ErrorText, T> $self, Logger logger)final static <T extends Any> TgetOrThrow(Either<ErrorText, T> $self)-
-
Method Detail
-
HTTextResult
final static Either<ErrorText, Void> HTTextResult(String value)
-
toTextResult
final static <T extends Any> Either<ErrorText, T> toTextResult(T $self, Function0<String> message)
-
printError
final static <T extends Any> Either<ErrorText, T> printError(Either<ErrorText, T> $self, Logger logger)
-
getOrThrow
final static <T extends Any> T getOrThrow(Either<ErrorText, T> $self)
-
-
-
-