mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
update
This commit is contained in:
19
node_modules/postcss-values-parser/lib/errors/TokenizeError.js
generated
vendored
Normal file
19
node_modules/postcss-values-parser/lib/errors/TokenizeError.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
class TokenizeError extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
|
||||
this.name = this.constructor.name;
|
||||
this.message = message || 'An error ocurred while tokzenizing.';
|
||||
|
||||
if (typeof Error.captureStackTrace === 'function') {
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
else {
|
||||
this.stack = (new Error(message)).stack;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TokenizeError;
|
Reference in New Issue
Block a user