(schemaErrorFormatter)
| 990 | } |
| 991 | |
| 992 | function validateSchemaErrorFormatter (schemaErrorFormatter) { |
| 993 | if (typeof schemaErrorFormatter !== class="st">'function') { |
| 994 | throw new FST_ERR_SCHEMA_ERROR_FORMATTER_NOT_FN(typeof schemaErrorFormatter) |
| 995 | } else if (schemaErrorFormatter.constructor.name === class="st">'AsyncFunction') { |
| 996 | throw new FST_ERR_SCHEMA_ERROR_FORMATTER_NOT_FN(class="st">'AsyncFunction') |
| 997 | } |
| 998 | } |
| 999 | |
| 1000 | /** |
| 1001 | * These export configurations enable JS and TS developers |
no outgoing calls
no test coverage detected