1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00
joplin/packages/lib/JoplinError.ts

13 lines
250 B
TypeScript

export default class JoplinError extends Error {
public code: any = null;
public details = '';
public constructor(message: string, code: any = null, details: string = null) {
super(message);
this.code = code;
this.details = details;
}
}