(functionName)
| 303 | } |
| 304 | |
| 305 | getFunction(functionName) { |
| 306 | if (functionName in this.functions) { |
| 307 | return this.functions[functionName] |
| 308 | } |
| 309 | throw new ServerlessError( |
| 310 | `Function "${functionName}" doesn't exist in this Service`, |
| 311 | 'FUNCTION_MISSING_IN_SERVICE', |
| 312 | ) |
| 313 | } |
| 314 | |
| 315 | getLayer(layerName) { |
| 316 | if (layerName in this.layers) { |
no outgoing calls
no test coverage detected