Exception: MsTeamsHermes::Message::UnknownError
- Inherits:
-
StandardError
- Object
- StandardError
- MsTeamsHermes::Message::UnknownError
- Defined in:
- lib/msteams_hermes/message.rb
Overview
Raises when the response message changes from the successful response
Instance Method Summary collapse
-
#initialize(error) ⇒ UnknownError
constructor
A new instance of UnknownError.
Constructor Details
#initialize(error) ⇒ UnknownError
Returns a new instance of UnknownError.
27 28 29 |
# File 'lib/msteams_hermes/message.rb', line 27 def initialize(error) super "Microsoft Teams Webhook had an unexpected response body:\n#{error}" end |