UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

13 lines 602 B
export declare abstract class DonobuException extends Error { readonly userFacingMessage: string; readonly internalMessage?: string | undefined; readonly httpCode: number; readonly donobuErrorCode: string; protected constructor(userFacingMessage: string, internalMessage?: string | undefined, httpCode?: number); /** * Constructs a Donobu error code from the name of the underlying class. * Converts the class name to UPPER_SNAKE_CASE and removes the "Exception" suffix. */ private divineErrorCodeFromClassName; } //# sourceMappingURL=DonobuException.d.ts.map