Updated errorInterceptor documentation

Fixes #528