You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
577 B

/**
* Generic IPC Error type
*/
export class IpcError extends Error {
constructor(...args: any[]) {
super(...args);
Object.setPrototypeOf(this, IpcError.prototype);
}
}
/**
* IPC connection error type
*/
export class IpcConnectionError extends IpcError {
constructor(...args: any[]) {
super(...args);
Object.setPrototypeOf(this, IpcConnectionError.prototype);
}
}
/**
* IPC timeout error type
*/
export class IpcTimeoutError extends IpcError {
constructor(...args: any[]) {
super(...args);
Object.setPrototypeOf(this, IpcTimeoutError.prototype);
}
}