check static method
void
check(
- SftpStatusPacket status
Implementation
static void check(SftpStatusPacket status) {
if (status.code != SftpStatusCode.ok && status.code != SftpStatusCode.eof) {
throw SftpStatusError.fromStatus(status);
}
}