Exception: Sqreen::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Sqreen::Exception
- Defined in:
- lib/sqreen/exception.rb
Overview
TODO: do we really want this to be StandardError? Base exeception class for sqreen
Direct Known Subclasses
Actions::UnknownActionType, AttackBlocked, InvalidSignatureException, MetricsStore::AlreadyRegisteredMetric, MetricsStore::UnknownMetric, MetricsStore::UnregisteredMetric, NotImplementedYet, Rules::BindingAccessorMetrics::NoExpressions, TokenInvalidException, TokenNotFoundException, Unauthorized, WAFError
Instance Method Summary collapse
-
#initialize(msg = nil, *args) ⇒ Exception
constructor
A new instance of Exception.
- #log_message(msg) ⇒ Object
Constructor Details
#initialize(msg = nil, *args) ⇒ Exception
Returns a new instance of Exception.
12 13 14 15 |
# File 'lib/sqreen/exception.rb', line 12 def initialize(msg = nil, *args) super(msg, *args) msg if msg end |