Sha256: ad19f86a6a160848999ba60ce1a50a7dd38f10eac46b38846e42654f10db7bf1
Contents?: true
Size: 662 Bytes
Versions: 2
Compression:
Stored size: 662 Bytes
Contents
module Msf module RPC API_VERSION = '1.0' class Exception < RuntimeError attr_accessor :message def initialize(message) self.message = message end def to_s self.message end end class ServerException < RuntimeError attr_accessor :code, :message, :error_class, :error_backtrace def initialize(code, message, error_class, error_backtrace = []) self.code = code self.message = message self.error_class = error_class self.error_backtrace = error_backtrace end def to_s self.message end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
msfrpc-client-1.1.2 | lib/msfrpc-client/constants.rb |
msfrpc-client-1.1.1 | lib/msfrpc-client/constants.rb |