fix circular dependency caused by is-retryable-error, render-inline-error, and render-full-error
This commit is contained in:
parent
c2f6f54f50
commit
5f6578c8cd
6 changed files with 20 additions and 17 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue