HTTP status code 500 is used for "Internal Server Error"s, but it's very generic.
What status code is used by applications/proxies when they detect that a configuration problem prevents them (or a part of them) from working?
Neither RFC 2616 nor RFC 7231 define such a code, but maybe some unofficial status code is used somewhere already.
Example: A web application has an e-mail sending feature. The application works fine if the SMTP configuration is missing, but when trying to send an email, it will fail. It can detect that the configuration is missing/wrong.