ParsingError
public struct ParsingError : LocalizedError, Equatable
Possible errors thrown while parsing RESP messages.
Important
Any of these errors should be considered a BUG.Please file a bug at https://www.gitlab.com/mordil/RediStack/-/issues.
-
An invalid RESP data type identifier was found.
Declaration
Swift
public static let invalidToken: RESPTranslator.ParsingError
-
A bulk string size did not match the RESP schema.
Declaration
Swift
public static let invalidBulkStringSize: RESPTranslator.ParsingError
-
A bulk string’s declared size did not match its content size.
Declaration
Swift
public static let bulkStringSizeMismatch: RESPTranslator.ParsingError
-
A RESP integer did not follow the RESP schema.
Declaration
Swift
public static let invalidIntegerFormat: RESPTranslator.ParsingError
-
Declaration
Swift
public var errorDescription: String? { get }