Ensure that all errors bubble to the main `convertError` proc. Add websockets mocks and tests. Formatting updates via nph.