# File lib/net/sftp/errors.rb, line 23 def initialize(response, text=nil) @response, @text = response, text @code = response.code @description = response.message @description = Response::MAP[@code] if @description.nil? || @description.empty? end