This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** biome-ignore-all lint/suspicious/noConsole: We use console.error for logging API errors */ | |
| import { toast } from "sonner"; | |
| import { z } from "zod"; | |
| import config from "@/lib/config"; | |
| import { getErrorMessage } from "./error-codes"; | |
| // Types | |
| /** | |
| * URL path that must start with a forward slash |