class Strife::Response::RaiseError

Private Instance Methods

on_complete(response) click to toggle source
# File lib/strife/response/raise_error.rb, line 8
def on_complete(response)
  if error = Strife::Error.from_response(response)
    raise error
  end
end