Something went wrong. Try again.
A local-first, resumable GitHub-to-Tangled issue migrator. Built with Next.js and shadcn/ui. MIT licensed.
Something went wrong. Try again.
1234567891011121314export class LocalFailure extends Error { constructor(code, status = 400) { super(code); this.code = code; this.status = status; }}
export function failureResponse(error) { const code = error instanceof LocalFailure ? error.code : 'LOCAL_OPERATION_FAILED'; const status = error instanceof LocalFailure ? error.status : 500; return { code, status };}