dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
11 lines (10 loc) • 340 B
JavaScript
;
class ValidationException extends Error {
constructor(trigger, value, message) {
super();
this.message = 'Validation failed for [' + trigger + '] with value [' + value + ']: ' + message;
this.trigger = trigger;
this.value = value;
}
}
exports.ValidationException = ValidationException;