move CaptchaError to a separate file to avoid circular import errors

This commit is contained in:
Hazelnoot 2025-07-08 11:01:37 -04:00
parent f1038c42e8
commit 8107f7f576
3 changed files with 23 additions and 14 deletions

View file

@ -5,7 +5,7 @@
import { IdentifiableError } from '@/misc/identifiable-error.js';
import { StatusError } from '@/misc/status-error.js';
import { CaptchaError } from '@/core/CaptchaService.js';
import { CaptchaError } from '@/misc/captcha-error.js';
export function renderInlineError(err: unknown): string {
const parts: string[] = [];