import { reasonForValue } from "../../utils/reason-for-value" ; import { MissingDataError } from "./missing-data-error" ; export class MissingTagError extends MissingDataError { public constructor ( public tagKey , public actualValue , cause ? ) { super ( `Required tag value not present at key "${ tagKey }" (is ${ reasonForValue ( actualValue ) })` , cause ) ; } }