Error API
Sockets for production.