import { ArangoErrorResponse } from "arangojs/connection"; import { ArangoError } from "arangojs/errors"; import { type ErrorType } from "./errors.js"; export { ArangoError, ArangoErrorResponse }; type PartialErrorResponse = Omit; export type ErrorDescription = PartialErrorResponse & Record; export declare function createArangoError(error: Error | ErrorType | ErrorDescription, options?: ThrowArangoErrorOptions): ArangoError; export type ThrowArangoErrorOptions = { message?: string; code?: number; cause?: Error; isSafeToRetry?: boolean; }; //# sourceMappingURL=arango-error.d.ts.map