Exception: Immunio::BlockError

Inherits:
SecurityError
  • Object
show all
Defined in:
lib/immunio/errors.rb

Overview

Error to block a request in progress Ruby’s ‘SecurityError` is outside the `StandardError` hierarchy, so it will only be caught if somebody decides to catch it explicitly.

‘StandardError` and `RuntimeError` are both caught by a default rescue block. This makes it too easy for a developer to catch and ignore one of our blocking errors unintentionally.

Direct Known Subclasses

OverrideResponse, RequestBlocked