VoidShell/services/sway/exceptions.ts

11 lines
199 B
TypeScript

import type { Context } from "./workspaces";
export class InvalidContextError extends Error {
constructor(
public readonly context: Context,
reason: string,
) {
super(reason);
}
}