Store source metadata for imported documents (#6136)

This commit is contained in:
Tom Moor
2023-11-11 10:52:29 -05:00
committed by GitHub
parent 90605e110a
commit 48d688c0a5
16 changed files with 178 additions and 48 deletions

View File

@@ -87,6 +87,12 @@ export function InvalidRequestError(message = "Request invalid") {
});
}
export function PaymentRequiredError(message = "Payment required") {
return httpErrors(402, message, {
id: "payment_required",
});
}
export function NotFoundError(message = "Resource not found") {
return httpErrors(404, message, {
id: "not_found",