UNPKG

@visulima/error

Version:

Error with more than just a message, stacktrace parsing.

13 lines (12 loc) 1.23 kB
export type { CodeFrameLocation, CodeFrameNodeLocation, CodeFrameOptions, ColorizeMethod } from "./code-frame/index.d.ts"; export { CODE_FRAME_POINTER, codeFrame } from "./code-frame/index.d.ts"; export { default as indexToLineColumn } from "./code-frame/index-to-line-column.d.ts"; export type { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError } from "./error/index.d.ts"; export { addKnownErrorConstructor, captureRawStackTrace, deserializeError, getErrorCauses, isErrorLike, isVisulimaError, NonError, renderError, serializeError, VisulimaError, } from "./error/index.d.ts"; export { default as aiPrompt } from "./solution/ai/ai-prompt.d.ts"; export { default as aiSolutionResponse } from "./solution/ai/ai-solution-response.d.ts"; export { default as errorHintFinder } from "./solution/error-hint-finder.d.ts"; export { default as ruleBasedFinder } from "./solution/rule-based-finder.d.ts"; export type { Solution, SolutionError, SolutionFinder, SolutionFinderFile } from "./solution/types.d.ts"; export type { Trace, TraceType } from "./stacktrace/index.d.ts"; export { formatStackFrameLine, formatStacktrace, parseStacktrace } from "./stacktrace/index.d.ts";