(bodyLimit)
| 619 | } |
| 620 | |
| 621 | function validateBodyLimitOption (bodyLimit) { |
| 622 | if (bodyLimit === undefined) return |
| 623 | if (!Number.isInteger(bodyLimit) || bodyLimit <= 0) { |
| 624 | throw new FST_ERR_ROUTE_BODY_LIMIT_OPTION_NOT_INT(bodyLimit) |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | function validateHandlerTimeoutOption (handlerTimeout) { |
| 629 | if (handlerTimeout === undefined) return |
no outgoing calls
no test coverage detected