LexErr
import { LexErr } from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";
Lexer error.
class LexErr extends Error { }
constructor(d: string, pos: number);
public col: number;
public line: number;
isBeginWithComma(): this is BeginWithCommaErr;
isCmdFollowedByComma(): this is CmdFollowedByCommaErr;
isCmdFollowsComma(): this is CmdFollowsCommaErr;
isConsecutiveCommas(): this is ConsecutiveCommasErr;
isEndWithComma(): this is EndWithCommaErr;
isFlagIsNotZeroOrOne(): this is FlagIsNotZeroOrOneErr;
isNotBeginWithMoveTo(): this is NotBeginWithMoveToErr;
isNumIsNotParam(): this is NumIsNotParamErr;
isRadiusIsNegative(): this is RadiusIsNegativeErr;
isTooFewParams(): this is TooFewParamsErr;
isTrailingDot(): this is TrailingDotErr;
isUnrecognized(): this is UnrecognizedErr;