Sha256: bd7a556a23b62e0edb4c92de4d1fcd34fc017e0b6c848e7af22fbc723e078e69
Contents?: true
Size: 820 Bytes
Versions: 119
Compression:
Stored size: 820 Bytes
Contents
# Copyright (c) 2015 Sqreen. All Rights Reserved. # Please refer to our terms for more information: https://www.sqreen.io/terms.html require 'sqreen/log' module Sqreen # Base exeception class for sqreen class Exception < ::StandardError def initialize(msg = nil, *args) super(msg, *args) Sqreen.log.error msg if msg end end # When the token is not found class TokenNotFoundException < Exception end # When the token is invalid class TokenInvalidException < Exception end # This exception name is particularly important since it is often seen by # Sqreen users when watching their logs. It should not raise any concern to # them. class AttackBlocked < Exception end class NotImplementedYet < Exception end class InvalidSignatureException < Exception end end
Version data entries
119 entries across 119 versions & 2 rubygems