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