18 lines
373 B
TypeScript
18 lines
373 B
TypeScript
export const BLOG_ERRORS = {
|
|
BLOG_NOT_FOUND: [
|
|
404,
|
|
'Article not found',
|
|
'Scoped blog article lookup failed',
|
|
],
|
|
BLOG_CHANGED: [
|
|
409,
|
|
'Article version has changed',
|
|
'Stale blog command rejected',
|
|
],
|
|
BLOG_STATE_CONFLICT: [
|
|
409,
|
|
'Article state does not allow this action',
|
|
'Withdrawn article mutation rejected',
|
|
],
|
|
} as const;
|