Add error code for monitor