Hiyve Components - v1.0.0
    Preparing search index...

    Interface JoinTokenError

    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>
    );
    }
    interface JoinTokenError {
        code: JoinTokenErrorCode;
        httpStatus?: number;
        message: string;
        requiresPassword: boolean;
    }
    Index

    Properties

    The error code for programmatic handling

    httpStatus?: number

    HTTP status code from the server, if available

    message: string

    Human-readable error message

    requiresPassword: boolean

    Whether this error indicates a password is required