Structured error information for join token operations.
This interface provides detailed error information that can be used to display user-friendly error messages and handle specific error cases.
function JoinError({ error }: { error: JoinTokenError }) { return ( <Alert severity="error"> {error.message} {error.requiresPassword && ( <PasswordInput /> )} </Alert> );} Copy
function JoinError({ error }: { error: JoinTokenError }) { return ( <Alert severity="error"> {error.message} {error.requiresPassword && ( <PasswordInput /> )} </Alert> );}
The error code for programmatic handling
Optional
HTTP status code from the server, if available
Human-readable error message
Whether this error indicates a password is required
Structured error information for join token operations.
Remarks
This interface provides detailed error information that can be used to display user-friendly error messages and handle specific error cases.
Example