NoError
public enum NoError : Hashable, Equatable, Codable
NoError is a type that cannot be constructed.
It’s intended to be used as the error type for promises that cannot return an error. It is
similar to Never except it conforms to some protocols in order to make working with types
containing it easier.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
public static func == (lhs: NoError, rhs: NoError) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Declaration
Swift
public func hash(into hasher: inout Hasher) -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
NoError Enumeration Reference