Skip to content

Commit 31a6a95

Browse files
committed
Remove unused InvalidCharacterError
1 parent dbaab07 commit 31a6a95

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

parse-css.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ function surrogate(code) { return between(code, 0xd800, 0xdfff); }
4747

4848
var maximumallowedcodepoint = 0x10ffff;
4949

50-
class InvalidCharacterError extends Error {
51-
constructor(message) {
52-
super();
53-
this.name = "InvalidCharacterError";
54-
this.message = message;
55-
}
56-
}
57-
5850
class SpecError extends Error {
5951
constructor(...args) {
6052
super(...args);

0 commit comments

Comments
 (0)