• Nathan Harris's avatar
    Convert `RESPTranslator.ParsingError` from enum to struct · b48b4729
    Nathan Harris authored
    Motivation:
    
    Much like the change for `RedisClientError` (6471a2) any error enum that we may want to change will necessitate a major SemVer.
    
    To avoid this, we need to use the established struct-as-enum pattern.
    
    Modifications:
    
    - Change: `RESPTranslator.ParsingError` to be a struct backed by an enum
    
    Result:
    
    The library should be able to evolve to add more `RESPTranslator.ParsingError` cases without becoming a breaking change.
    b48b4729
Code owners : Nathan Harris
RESPTranslator.swift 10.6 KB