catch the error events from rainbow socks an return it.