UNPKG

microdata-tooling

Version:

Provides tooling to help using micro data from TypeScript/JavaScript.

25 lines (24 loc) 660 B
/** * {@link NoTypeError} is thrown when {@link parse} encounters an item with no * type. */ export declare class NoTypeError extends Error { /** * Create a new {@link NoTypeError} object. * * @param message - A human-readable description of the error. */ constructor(message?: string); } /** * {@link MultiTypeError} is thrown when {@link parse} encounters an item with more * than one type. */ export declare class MultiTypeError extends Error { /** * Create a new {@link MultiTypeError} object. * * @param message - A human-readable description of the error. */ constructor(message?: string); }