{"file":"worker/project/project-error.ts","version":318,"total":11,"from":1,"to":11,"lines":[{"n":1,"text":"import type { ProjectErrorCode } from \"./project-types.ts\";","atom":"a0","author":"init","version":0},{"n":2,"text":"","atom":"a0","author":"init","version":0},{"n":3,"text":"/** Bad input from a caller. The Worker answers 400 (409 for already-initialized). */","atom":"a0","author":"init","version":0},{"n":4,"text":"export class ProjectError extends Error {","atom":"a0","author":"init","version":0},{"n":5,"text":"\treadonly code: ProjectErrorCode;","atom":"a0","author":"init","version":0},{"n":6,"text":"\tconstructor(code: ProjectErrorCode, message: string) {","atom":"a0","author":"init","version":0},{"n":7,"text":"\t\tsuper(message);","atom":"a0","author":"init","version":0},{"n":8,"text":"\t\tthis.name = \"ProjectError\";","atom":"a0","author":"init","version":0},{"n":9,"text":"\t\tthis.code = code;","atom":"a0","author":"init","version":0},{"n":10,"text":"\t}","atom":"a0","author":"init","version":0},{"n":11,"text":"}","atom":"a0","author":"init","version":0}],"atoms":[{"atom":"a0","author":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z","publish":{"draft":null,"version":0,"agent":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z"}}]}