* InvalidSchemaOption Error constructor. * @param {String} name * @api private
(name, option)
| 14 | * @api private |
| 15 | */ |
| 16 | constructor(name, option) { |
| 17 | const msg = `Cannot create use schema for property "${name}" because the schema has the ${option} option enabled.`; |
| 18 | super(msg); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | Object.defineProperty(InvalidSchemaOptionError.prototype, 'name', { |
nothing calls this directly
no outgoing calls
no test coverage detected