Exception: Console1984::Errors::ProtectedConnection

Inherits:
StandardError
  • Object
show all
Defined in:
lib/console1984/errors.rb

Overview

Attempt to access a protected url while in protected mode.

Instance Method Summary collapse

Constructor Details

#initialize(details) ⇒ ProtectedConnection

Returns a new instance of ProtectedConnection.



5
6
7
8
# File 'lib/console1984/errors.rb', line 5

def initialize(details)
  super "A connection attempt was prevented because it represents a sensitive access."\
    "Please run decrypt! and try again. You will be asked to justify this access: #{details}"
end