FailureReason

public enum FailureReason : Error

The reason for the Writer.write(_:) failure.

See also

Writer for usage.
  • The Writer is unavailable for writing at the moment but can recover.

    Declaration

    Swift

    case unavailable
  • The writer failed to write (unrecoverable).

    Declaration

    Swift

    case error(Error)

    Parameters

    Error

    An Swift.Error indicating the underlying cause of the error.