Exception: CSPUtil::DirectiveError
- Inherits:
-
CSPUtilError
- Object
- StandardError
- CSPUtilError
- CSPUtil::DirectiveError
- Defined in:
- lib/csp_util/errors.rb
Direct Known Subclasses
DirectiveNameDeprecated, DirectiveNameUnknown, DuplicateDirective
Instance Method Summary collapse
-
#initialize(directive_name) ⇒ DirectiveError
constructor
A new instance of DirectiveError.
Constructor Details
#initialize(directive_name) ⇒ DirectiveError
Returns a new instance of DirectiveError.
7 8 9 |
# File 'lib/csp_util/errors.rb', line 7 def initialize(directive_name) @directive_name = directive_name end |