Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AuthPKCEGrantCodeExchangeError

import { AuthPKCEGrantCodeExchangeError } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";

Error thrown during PKCE code exchanges.

@example
import { AuthPKCEGrantCodeExchangeError } from '@supabase/auth-js'

throw new AuthPKCEGrantCodeExchangeError('PKCE exchange failed')
class AuthPKCEGrantCodeExchangeError extends CustomAuthError {
constructor(message: string, details?: {
error: string;
code: string;
}
| null
);
details: {
error: string;
code: string;
}
| null;
 
toJSON(): {
name: string;
message: string;
status: number;
details: {
error: string;
code: string;
}
| null;
}
;
}

§Extends

§
CustomAuthError
[src]

§Constructors

§
new AuthPKCEGrantCodeExchangeError(message: string, details?: {
error: string;
code: string;
}
| null
)
[src]

§Properties

§
details: {
error: string;
code: string;
}
| null
[src]

§Methods

§
toJSON(): {
name: string;
message: string;
status: number;
details: {
error: string;
code: string;
}
| null;
}
[src]