Exception: Parse::Agent::ConstraintTranslator::ConstraintSecurityError
- Inherits:
-
SecurityError
- Object
- StandardError
- AgentError
- SecurityError
- Parse::Agent::ConstraintTranslator::ConstraintSecurityError
- Defined in:
- lib/parse/agent/constraint_translator.rb
Overview
Security error for blocked operators that allow code execution
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(message, operator: nil, reason: nil) ⇒ ConstraintSecurityError
constructor
A new instance of ConstraintSecurityError.
Constructor Details
#initialize(message, operator: nil, reason: nil) ⇒ ConstraintSecurityError
Returns a new instance of ConstraintSecurityError.
32 33 34 35 36 |
# File 'lib/parse/agent/constraint_translator.rb', line 32 def initialize(, operator: nil, reason: nil) @operator = operator @reason = reason super() end |
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
30 31 32 |
# File 'lib/parse/agent/constraint_translator.rb', line 30 def operator @operator end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
30 31 32 |
# File 'lib/parse/agent/constraint_translator.rb', line 30 def reason @reason end |