pub enum SupabaseError {
}Expand description
Universal error type for the Supabase client library operations.
This now mostly wraps or maps errors from the supabase_rust_gftd crate.
Variants§
Config(String)
Initialization(String)
Auth(AuthError)
Postgrest(PostgrestError)
Realtime(String)
Storage(String)
Function(String)
Network(Error)
UrlParse(ParseError)
Json(Error)
InvalidInput(String)
Timeout
Internal(String)
Unknown
Trait Implementations§
Source§impl Debug for SupabaseError
impl Debug for SupabaseError
Source§impl Display for SupabaseError
impl Display for SupabaseError
Source§impl Error for SupabaseError
impl Error for SupabaseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AuthError> for SupabaseError
impl From<AuthError> for SupabaseError
Source§impl From<Error> for SupabaseError
impl From<Error> for SupabaseError
Source§impl From<Error> for SupabaseError
impl From<Error> for SupabaseError
Source§impl From<ParseError> for SupabaseError
impl From<ParseError> for SupabaseError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<PostgrestError> for SupabaseError
impl From<PostgrestError> for SupabaseError
Source§fn from(source: PostgrestError) -> Self
fn from(source: PostgrestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SupabaseError
impl !RefUnwindSafe for SupabaseError
impl Send for SupabaseError
impl Sync for SupabaseError
impl Unpin for SupabaseError
impl !UnwindSafe for SupabaseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more