Set error code options for WebClient