Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
2d56448eaThis file is pinned to the selected release. Download the original to open it in your design tool.
import CodeLocation from "../CodeLocation";
import CodeError from "../errors/CodeError";
export class UnresolvedFunctionError extends CodeError {
constructor(pos: CodeLocation, functionName: string) {
super(pos, `Unresolved function '${functionName}'.`);
}
}
export class UnresolvedModuleError extends CodeError {
constructor(pos: CodeLocation, functionName: string) {
super(pos, `Unresolved module '${functionName}'.`);
}
}
export class UnresolvedVariableError extends CodeError {
constructor(pos: CodeLocation, functionName: string) {
super(pos, `Unresolved variable '${functionName}'.`);
}
}