IdentifierError

public enum IdentifierError : Error

An error representing a failure to create an Identifier.

Usage Example:

An IdentifierError.invalidValue may be thrown if the given string cannot be converted to an integer when using an Identifier.

 throw IdentifierError.invalidValue
  • Represents a failure to create an Identifier from a given String representation.

    Declaration

    Swift

    case invalidValue