Implement `#rescue_from` callback for custom exception handling ```ruby class SomeFunction < ActiveFunction::Base rescue_from InvalidRequestFormatError do |exception| render json: exception.message, status: 422 end end ```