* Creates an error object to be thrown when the reporter specified in the options was not found. * * @public * @param {string} message - Error message to be displayed. * @param {string} reporter - User-specified reporter value. * @returns {Error} instance detailing the error condition
(message, reporter)
| 12409 | * @returns {Error} instance detailing the error condition |
| 12410 | */ |
| 12411 | function createInvalidReporterError(message, reporter) { |
| 12412 | var err = new TypeError(message); |
| 12413 | err.code = constants$4.INVALID_REPORTER; |
| 12414 | err.reporter = reporter; |
| 12415 | return err; |
| 12416 | } |
| 12417 | |
| 12418 | /** |
| 12419 | * Creates an error object to be thrown when the interface specified in the options was not found. |
no outgoing calls
no test coverage detected