class FDE::Slack::APIError
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
# File lib/slack/util/http_client.rb, line 14 def initialize(response) @response = response end
Public Instance Methods
message()
click to toggle source
# File lib/slack/util/http_client.rb, line 18 def message <<-MSG The slack API returned an error with HTTP Code #{@response.code} Check the "Handling Errors" section on https://api.slack.com/incoming-webhooks for more information MSG end