(status: number, message: string)
| 26 | return res.status(err.status).json({ message: err.message }) |
| 27 | } else { |
| 28 | return res.status(500).json({ message: 'Internal Server Error' }) |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Releases the raw socket behind an upgrade request that no route took |
| 34 | * ownership of, and reports whether it did. Returns false for ordinary |
nothing calls this directly
no outgoing calls
no test coverage detected