Sha256: b9856600380147e4a714ea6a9a86279ee182a517eb059b7741e4076a4fa87889
Contents?: true
Size: 740 Bytes
Versions: 29
Compression:
Stored size: 740 Bytes
Contents
# typed: false # Copyright (c) 2015 Sqreen. All Rights Reserved. # Please refer to our terms for more information: https://www.sqreen.com/terms.html require 'sqreen/log' module Sqreen # TODO: do we really want this to be StandardError? # Base exeception class for sqreen class Exception < ::StandardError def initialize(msg = nil, *args) super(msg, *args) log_message msg if msg end def log_message(msg) Sqreen.log.error(msg) end end end require 'sqreen/token_not_found_exception' require 'sqreen/token_invalid_exception' require 'sqreen/attack_blocked' require 'sqreen/not_implemented_yet' require 'sqreen/invalid_signature_exception' require 'sqreen/unauthorized' require 'sqreen/waf_error'
Version data entries
29 entries across 29 versions & 1 rubygems