TryError

public enum TryError : Error

Models an error in an invocation to some methods of Try.

  • illegalState: The value is in an illegal state when an operation is invoked.
  • predicateDoesNotMatch: The value does not match the provided predicate.
  • unsupportedOperation: The invoked operation is unsupported for the value receiving it.