Class: Object

Inherits:
BasicObject
Defined in:
lib/arachni/rpc/exceptions.rb

Overview

RPC Exceptions have methods that help identify them based on type.

So in order to allow evaluations like:

my_object.rpc_connection_error?

to be possible on all objects these helper methods need to be available for all objects.

By default they'll return false, individual RPC Exceptions will overwrite them to return true when applicable.

Author:

Instance Method Summary (collapse)

Instance Method Details

- (Bool) rpc_connection_error?



25
26
27
# File 'lib/arachni/rpc/exceptions.rb', line 25

def rpc_connection_error?
    false
end

- (Bool) rpc_exception?



55
56
57
# File 'lib/arachni/rpc/exceptions.rb', line 55

def rpc_exception?
    false
end

- (Bool) rpc_invalid_method_error?



40
41
42
# File 'lib/arachni/rpc/exceptions.rb', line 40

def rpc_invalid_method_error?
    false
end

- (Bool) rpc_invalid_object_error?



35
36
37
# File 'lib/arachni/rpc/exceptions.rb', line 35

def rpc_invalid_object_error?
    false
end

- (Bool) rpc_invalid_token_error?



45
46
47
# File 'lib/arachni/rpc/exceptions.rb', line 45

def rpc_invalid_token_error?
    false
end

- (Bool) rpc_remote_exception?



30
31
32
# File 'lib/arachni/rpc/exceptions.rb', line 30

def rpc_remote_exception?
    false
end

- (Bool) rpc_ssl_error?



50
51
52
# File 'lib/arachni/rpc/exceptions.rb', line 50

def rpc_ssl_error?
    false
end