pubsub: refactor feature not implemented error handling