Exception: SteamCondenserError
- Inherits:
-
StandardError
- Object
- StandardError
- SteamCondenserError
- Defined in:
- lib/errors/steam_condenser_error.rb
Overview
This error class is used as a base class for all errors related to Steam Condenser’s operation
Direct Known Subclasses
PacketFormatError, RCONBanError, RCONNoAuthError, SteamCondenser::TimeoutError, WebApiError
Instance Attribute Summary collapse
-
#cause ⇒ Exception
readonly
Returns the exception that caused this error.
Instance Method Summary collapse
-
#initialize(message, cause = nil) ⇒ SteamCondenserError
constructor
Creates a new ‘SteamCondenserError` instance.
Constructor Details
#initialize(message, cause = nil) ⇒ SteamCondenserError
Creates a new ‘SteamCondenserError` instance
21 22 23 24 |
# File 'lib/errors/steam_condenser_error.rb', line 21 def initialize(, cause = nil) super @cause = cause end |
Instance Attribute Details
#cause ⇒ Exception (readonly)
Returns the exception that caused this error
15 16 17 |
# File 'lib/errors/steam_condenser_error.rb', line 15 def cause @cause end |