Exception: ActiveMatrix::Errors::MatrixConnectionError
- Inherits:
-
MatrixError
- Object
- StandardError
- MatrixError
- ActiveMatrix::Errors::MatrixConnectionError
- Defined in:
- lib/active_matrix/errors.rb
Overview
An error raised when errors occur in the connection layer
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.class_by_code(code) ⇒ Object
56 57 58 59 60 |
# File 'lib/active_matrix/errors.rb', line 56 def self.class_by_code(code) return MatrixTimeoutError if code == 504 MatrixConnectionError end |