Package dev.kylesilver.result
package dev.kylesilver.result
-
ClassDescriptionCheckedSupplier<T,
E extends Throwable> Similar to theSupplier
interface, but with additional type information to allow for the function to throw an exception.Err<T,E> Indicates that an operation has failed.This exception is thrown when theResult.tryOr
function is unable to cast a caught exception from the caller-providedCheckedSupplier
into the desired error type.Ok<T,E> Indicates that an operation has been completed successfully.Result<T,E> A result type represents the output of an operation with two possible outcomes.This exception is thrown when a value is unwrapped.