Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
fc9b20a43This file is pinned to the selected release. Download the original to open it in your design tool.
import CodeLocation from "../CodeLocation";
/**
* A root class for all the errors generated during parsing and lexing.
* @category Error
*/
export default abstract class CodeError extends Error {
constructor(public codeLocation: CodeLocation, message: string) {
super(message);
}
}