RingBufferError
public enum RingBufferError: Swift.Error
Represents an error that occurs while using a RingBuffer
-
There is insufficient space in the buffer
- requested: The amount of space that was requested
- available: The number of bytes that are available
Declaration
Swift
case insufficientSpace(requested: Int, available: Int)
-
There is insufficient data in the buffer
- requested: The amount of space that was requested
- available: The number of bytes that are available
Declaration
Swift
case insufficientData(requested: Int, available: Int)
-
Represents an error that occured while converting a string to UTF8
Declaration
Swift
case conversionError
-
Represents an internal error. Please pass a helpful message.
Declaration
Swift
case `internal`(String)
-
A user-friendly error message
Declaration
Swift
public var message: String
-
A user-friendly error message
Declaration
Swift
public var description: String