This commit moves the compose_error function to its own module, which will be useful for future work splitting the compose module. We also simplify compose_not_subscribed_error to call the compose_error show function.