Exception: MatrixSdk::MatrixConnectionError
- Inherits:
-
MatrixError
- Object
- StandardError
- MatrixError
- MatrixSdk::MatrixConnectionError
- Defined in:
- lib/matrix_sdk/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
55 56 57 58 59 |
# File 'lib/matrix_sdk/errors.rb', line 55 def self.class_by_code(code) return MatrixTimeoutError if code == 504 MatrixConnectionError end |