Exception: Parse::Agent::PipelineValidator::PipelineSecurityError
- Inherits:
-
SecurityError
- Object
- StandardError
- AgentError
- SecurityError
- Parse::Agent::PipelineValidator::PipelineSecurityError
- Defined in:
- lib/parse/agent/pipeline_validator.rb
Overview
Security error for blocked or dangerous pipeline operations. Wraps the unified PipelineSecurity::Error for callers that have rescued this class specifically.
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#stage ⇒ Object
readonly
Returns the value of attribute stage.
Instance Method Summary collapse
-
#initialize(message, stage: nil, reason: nil, operator: nil) ⇒ PipelineSecurityError
constructor
A new instance of PipelineSecurityError.
Constructor Details
#initialize(message, stage: nil, reason: nil, operator: nil) ⇒ PipelineSecurityError
Returns a new instance of PipelineSecurityError.
35 36 37 38 39 40 |
# File 'lib/parse/agent/pipeline_validator.rb', line 35 def initialize(, stage: nil, reason: nil, operator: nil) @stage = stage @reason = reason @operator = operator super() end |
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
33 34 35 |
# File 'lib/parse/agent/pipeline_validator.rb', line 33 def operator @operator end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
33 34 35 |
# File 'lib/parse/agent/pipeline_validator.rb', line 33 def reason @reason end |
#stage ⇒ Object (readonly)
Returns the value of attribute stage.
33 34 35 |
# File 'lib/parse/agent/pipeline_validator.rb', line 33 def stage @stage end |