You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-06 23:56:13 +02:00
5 lines
194 B
TypeScript
5 lines
194 B
TypeScript
![]() |
// Syntax errors have a code 0 (no error) so we need to check the message.
|
||
|
export default (sqliteError: any) => {
|
||
|
return sqliteError.message && sqliteError.message.includes('syntax error');
|
||
|
};
|