Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get info(): { [key: string]: any } {
return VError.info(this);
}
public toUserFacingError(): UserFacingError {
return {
type: "ALREADY_EXISTS",
subject: VError.info(this).subject,
};
}
}
public toUserFacingError(): UserFacingError {
return {
type: "ALREADY_EXISTS",
subject: VError.info(this).subject,
};
}
}