Exception: MsTeamsHermes::Message::UnknownError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/msteams_hermes/message.rb

Overview

Raises when the response message changes from the successful response

Instance Method Summary collapse

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