(handlerTimeout)
| 626 | } |
| 627 | |
| 628 | function validateHandlerTimeoutOption (handlerTimeout) { |
| 629 | if (handlerTimeout === undefined) return |
| 630 | if (!Number.isInteger(handlerTimeout) || handlerTimeout <= 0) { |
| 631 | throw new FST_ERR_ROUTE_HANDLER_TIMEOUT_OPTION_NOT_INT(handlerTimeout) |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | function validateLogLevelOption (logLevel, method, path, logger) { |
| 636 | if (logLevel == null || logLevel === '') return |