class Devise::Controllers::Responder

and allow to integrate more easily with Hotwire/Turbo.
Custom Responder to configure default statuses that only apply to Devise,

def self.error_status

to use these methods and defaults across the implementation more easily.
and/or responders. It won't allow configuring a custom response, but it allows Devise
TODO: remove this support for older Rails versions, which aren't supported by Turbo
def self.error_status
  :ok
end

def self.error_status=(*)

def self.error_status=(*)
  warn "[DEVISE] Setting the error status on the Devise responder has no effect with this " \
    "version of `responders`, please make sure you're using a newer version. Check the changelog for more info."
end

def self.redirect_status

def self.redirect_status
  :found
end

def self.redirect_status=(*)

def self.redirect_status=(*)
  warn "[DEVISE] Setting the redirect status on the Devise responder has no effect with this " \
    "version of `responders`, please make sure you're using a newer version. Check the changelog for more info."
end