UNPKG

@promptbook/gemini

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

21 lines (20 loc) 447 B
import type { ERRORS } from '../0-index'; /** * Represents a serialized error or custom Promptbook error * * Note: [🚉] This is fully serializable as JSON */ export type ErrorJson = { /** * The type of the error */ readonly name: keyof typeof ERRORS | 'Error'; /** * The message of the error */ readonly message: string; /** * The stack trace of the error */ readonly stack?: string; };