Sha256: b1a9cea36444ded923fc3f04b9639233053411fd8aa6b453f0e056d3417af7e2

Contents?: true

Size: 956 Bytes

Versions: 4

Compression:

Stored size: 956 Bytes

Contents

module RubySMB::Error
  # Raised when there is a length or formatting issue with an ASN1-encoded string
  # @see https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One
  # @todo Find an SMB-specific link for ASN1 above
  class ASN1Encoding < StandardError; end

  # Raised when there is a problem with communication over NetBios Session Service
  # @see https://wiki.wireshark.org/NetBIOS/NBSS
  class NetBiosSessionService < StandardError; end

  # Raised when trying to parse raw binary into a Packet and the data
  # is invalid.
  class InvalidPacket < StandardError; end

  # Raised when a response packet has a NTStatus code that was unexpected.
  class UnexpectedStatusCode < StandardError; end

  # Raised when an error occurs with the underlying socket.
  class CommunicationError < StandardError; end

  # Raised when Protocol Negotiation fails, possibly due to an
  # unsupported protocol.
  class NegotiationFailure < StandardError; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_smb-0.0.18 lib/ruby_smb/error.rb
ruby_smb-0.0.17 lib/ruby_smb/error.rb
ruby_smb-0.0.16 lib/ruby_smb/error.rb
ruby_smb-0.0.15 lib/ruby_smb/error.rb