This commit is contained in:
seb
2026-10-18 20:29:48 +02:00
parent 5e4cb5a3f8
commit c06a5e3413
9 changed files with 39 additions and 25 deletions

View File

@@ -26,6 +26,7 @@ function quoteErrorStatus(error) {
if (error.message === 'Entity not found') return 404;
if (error.message === 'Article not found') return 404;
if (error.message === 'Invalid entityId') return 400;
if (error.message === 'Quote number already exists') return 409;
if (error.message === 'Invalid quote') return 400;
if (error.message === 'Invalid order') return 400;
if (error.message === 'Invalid lines') return 400;