Throw restrict

This commit is contained in:
Max Goedjen 2025-09-06 19:33:27 -07:00
parent 53296ed166
commit e5578260e9
No known key found for this signature in database

View File

@ -33,7 +33,7 @@ final class OpenSSHReader {
} }
func readNextChunkAsString() throws -> String { func readNextChunkAsString() throws(OpenSSHReaderError) -> String {
try String(decoding: readNextChunk(), as: UTF8.self) try String(decoding: readNextChunk(), as: UTF8.self)
} }