fix circular dependency caused by is-retryable-error, render-inline-error, and render-full-error

This commit is contained in:
Hazelnoot 2025-09-30 22:07:52 -04:00
parent c2f6f54f50
commit 5f6578c8cd
6 changed files with 20 additions and 17 deletions

View file

@ -8,7 +8,7 @@ import { AbortError, FetchError } from 'node-fetch';
import { StatusError } from '@/misc/status-error.js';
import { IdentifiableError } from '@/misc/identifiable-error.js';
import { renderInlineError } from '@/misc/render-inline-error.js';
import { CaptchaError, captchaErrorCodes } from '@/core/CaptchaService.js';
import { CaptchaError, captchaErrorCodes } from '@/misc/captcha-error.js';
export function renderFullError(e?: unknown): unknown {
if (e === undefined) return 'undefined';