Got error codes working with core services wrapper.