mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
13 lines
258 B
TypeScript
13 lines
258 B
TypeScript
|
export default class JoplinError extends Error {
|
||
|
|
||
|
public code: any = null;
|
||
|
public details: string = '';
|
||
|
|
||
|
public constructor(message: string, code: any = null, details: string = null) {
|
||
|
super(message);
|
||
|
this.code = code;
|
||
|
this.details = details;
|
||
|
}
|
||
|
|
||
|
}
|