Exception: SourceMonitor::Fetching::BlockedError
- Inherits:
-
FetchError
- Object
- StandardError
- FetchError
- SourceMonitor::Fetching::BlockedError
- Defined in:
- lib/source_monitor/fetching/fetch_error.rb
Constant Summary collapse
- CODE =
"blocked"
Instance Attribute Summary collapse
-
#blocked_by ⇒ Object
readonly
Returns the value of attribute blocked_by.
Attributes inherited from FetchError
Instance Method Summary collapse
-
#initialize(message = nil, blocked_by: "unknown", **kwargs) ⇒ BlockedError
constructor
A new instance of BlockedError.
Methods inherited from FetchError
Constructor Details
#initialize(message = nil, blocked_by: "unknown", **kwargs) ⇒ BlockedError
Returns a new instance of BlockedError.
93 94 95 96 |
# File 'lib/source_monitor/fetching/fetch_error.rb', line 93 def initialize( = nil, blocked_by: "unknown", **kwargs) @blocked_by = blocked_by super(, **kwargs) end |
Instance Attribute Details
#blocked_by ⇒ Object (readonly)
Returns the value of attribute blocked_by.
91 92 93 |
# File 'lib/source_monitor/fetching/fetch_error.rb', line 91 def blocked_by @blocked_by end |