errorFromFtpReply
function errorFromFtpReply(input: FtpReplyErrorInput): ZeroTransferError;Defined in: src/errors/errorFactory.ts:46
Maps an FTP reply into the closest typed ZeroTransfer error.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input | FtpReplyErrorInput | FTP code, message, and optional operation context. |
Returns
Section titled “Returns”A structured error subclass with stable code and retryability metadata.