mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-03-06 01:37:22 +01:00
Throw restrict
This commit is contained in:
@@ -33,7 +33,7 @@ final class OpenSSHReader {
|
||||
}
|
||||
|
||||
|
||||
func readNextChunkAsString() throws -> String {
|
||||
func readNextChunkAsString() throws(OpenSSHReaderError) -> String {
|
||||
try String(decoding: readNextChunk(), as: UTF8.self)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user