← Files BranchaARCHIVED FILE
skills/brancha/app/src/server/http/errors.ts
217 Bytes · Oct 2, 2026 · 00:29 UTC
export class HttpError extends Error {
constructor(
public readonly status: number,
message: string,
public readonly code = 'REQUEST_FAILED',
) {
super(message);
this.name = 'HttpError';
}
}
SHA-256: bea5e5f139f4e701fa53d9621e0895a08583e5b5eff50e498b48b0370690b3f9