Sha256: d2d80959229f149c6b048f849ce3005bc34c3b665e531f9419af81b2508389bd
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true module Ftpd module Error def error(message, code) raise FtpServerError.new(message, code) end def unimplemented_error error "Command not implemented", 502 end def sequence_error error "Bad sequence of commands", 503 end def syntax_error error "Syntax error", 501 end end end
Version data entries
7 entries across 7 versions & 1 rubygems