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.
  • unsupportedOperation: The invoked operation is unsupported for the value receiving it.