mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-10-26 13:00:58 +00:00
Throw restrict
This commit is contained in:
parent
53296ed166
commit
e5578260e9
@ -33,7 +33,7 @@ final class OpenSSHReader {
|
||||
}
|
||||
|
||||
|
||||
func readNextChunkAsString() throws -> String {
|
||||
func readNextChunkAsString() throws(OpenSSHReaderError) -> String {
|
||||
try String(decoding: readNextChunk(), as: UTF8.self)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user