Class: Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::HealthcheckService::Error
- Inherits:
-
T::Enum
- Object
- T::Enum
- Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::HealthcheckService::Error
- Extended by:
- T::Sig
- Defined in:
- lib/onlyoffice/docs_integration_sdk/document_server/client/healthcheck.rb
Overview
Error is an enum that represents the possible errors that can occur when using the healthcheck service.
Constant Summary collapse
- Failed =
new(-1)
Instance Method Summary collapse
-
#description ⇒ String
description returns the human-readable description of the error.
Instance Method Details
#description ⇒ String
description returns the human-readable description of the error.
64 65 66 67 68 69 70 71 72 73 |
# File 'lib/onlyoffice/docs_integration_sdk/document_server/client/healthcheck.rb', line 64 def description case self when Failed "Healthcheck failed" else # :nocov: # unreachable # :nocov: end end |