Promise toast that surfaces the rejected error in the sonner message.
npx shadcn@latest add @shadcnblocks/sonner-sonner-promise-3
Sign in or get a license at Shadcn Blocks to see its source and install it.