Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

215 B
Raw Blame
import { createErrorFactory } from '../../shared/errors/errors';

export const createCannotParseJsonError = createErrorFactory({
  message: 'Cannot parse JSON',
  code: 'db.json_parse_error',
  statusCode: 500,
});