Added error stub for regexp-dispatch
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
import { inspect } from 'node:util';
|
||||
|
||||
// § GROUP: Regexp tokenization
|
||||
|
||||
|
||||
|
||||
export class Tokenization_Error extends Error {
|
||||
constructor(data) {
|
||||
const { parser, value, index, end_index } = data;
|
||||
super(`Tokenization_Error`); //TODO: Format message
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
|
||||
// § GROUP: Configuration field errors
|
||||
|
||||
export class Data_Validation_Failed extends Error {
|
||||
|
||||
Reference in New Issue
Block a user