Something went wrong. Try again.
A serverless AT Protocol lexicon authority
atproto lexicon
Something went wrong. Try again.
12345678910111213141516171819/** * One error type for everything the build refuses to do. * * Build failures are usually plural — four lexicons with floats, two missing TXT records — and * reporting them one per run wastes the operator's time. `details` carries the individual * problems; the message renders them as an indented list. */export class BuildError extends Error { /** * @param {string} summary * @param {string[]} [details] */ constructor(summary, details = []) { super(details.length ? `${summary}\n${details.map((d) => (d ? ` ${d}` : '')).join('\n')}` : summary) this.name = 'BuildError' this.details = details }}