Exception: Supabase::Functions::Errors::FunctionsHttpError
- Inherits:
-
FunctionsError
- Object
- StandardError
- FunctionsError
- Supabase::Functions::Errors::FunctionsHttpError
- Defined in:
- lib/supabase/functions/errors.rb
Overview
Raised when the edge function returns a non-2xx HTTP response.
Instance Attribute Summary
Attributes inherited from FunctionsError
Instance Method Summary collapse
-
#initialize(message, status: nil) ⇒ FunctionsHttpError
constructor
A new instance of FunctionsHttpError.
Methods inherited from FunctionsError
Constructor Details
#initialize(message, status: nil) ⇒ FunctionsHttpError
Returns a new instance of FunctionsHttpError.
23 24 25 |
# File 'lib/supabase/functions/errors.rb', line 23 def initialize(, status: nil) super(, name: "FunctionsHttpError", status: status || 400) end |