Home > @rushstack/node-core-library > IParsedPackageNameOrError
IParsedPackageNameOrError interface
Result object returned by PackageName.tryParse()
Signature:
export interface IParsedPackageNameOrError extends IParsedPackageName
Extends: IParsedPackageName
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
error | string | If the input string could not be parsed, then this string will contain a nonempty error message. Otherwise it will be an empty string. |