UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

10 lines (9 loc) 417 B
export type AuthErrorPresentation = "inline" | "silent" | "toast"; /** * Resolve how a query or mutation error should be presented by auth UI hosts. * * Errors default to a toast for backwards compatibility. Components that * render their own recovery UI use `inline`, while optional enrichment * requests use `silent`. */ export declare function getAuthErrorPresentation(meta: unknown): AuthErrorPresentation;