RoadmapShopEvents
Skip to main content

Home > @rushstack/node-core-library > IParsedPackageNameOrError

IParsedPackageNameOrError interface

Result object returned by PackageName.tryParse()

Signature:
export interface IParsedPackageNameOrError extends IParsedPackageName
Extends: [IParsedPackageName](/pages/node-core-library.iparsedpackagename)

Properties

PropertyTypeDescription
errorstringIf the input string could not be parsed, then this string will contain a nonempty error message. Otherwise it will be an empty string.