1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
module PCAPRUB
# The base exception for JSON errors.
class PCAPRUBError < StandardError; end
# This exception is raised, if a Device Binding error occurs.
class BindingError < PCAPRUBError; end
# This exception is raised, if the BPF Filter raises a fault
class BPFError < PCAPRUBError; end
# This exception is raised, if the libpcap Dumper raises a fault
# deep.
class DumperError < PCAPRUBError; end
# Raised if unable to set underlying capture link type
class LinkTypeError < PCAPRUBError; end
end
|