()
| 6187 | } |
| 6188 | throw new Error(unknownMsg()); |
| 6189 | function unknownMsg() { |
| 6190 | return `unknown format "${schema}" ignored in schema at path "${errSchemaPath}"`; |
| 6191 | } |
| 6192 | } |
| 6193 | function getFormat(fmtDef) { |
| 6194 | const code = fmtDef instanceof RegExp |