Exception: SOCKSError::NotAllowed

Inherits:
SOCKSError
  • Object
show all
Defined in:
lib/socksify.rb

Constant Summary

Constants inherited from SOCKSError

RESPONSE_CODE_CLASSES

Instance Method Summary collapse

Methods inherited from SOCKSError

for_response_code

Constructor Details

#initializeNotAllowed

Returns a new instance of NotAllowed.



39
40
41
# File 'lib/socksify.rb', line 39

def initialize
  super('connection not allowed by ruleset')
end