The page explaining all the codes should make it clear that using status code 999 is a bad idea. One reason why it's bad is because it violates RFC 2616 (§6.1.1): The first digit of the Status-Code defines the class of response. The last two digits do not have any categorization role. There are 5 values for the first digit: - 1xx: Informational - Request received, continuing process - 2xx: Success - The action was su…
Controversial and unpopular opinion, but RFC specs went out the window as soon as SPA apps came about.
If I can't use my back button without my page being hijacked to the home page of the site then to me RFCs are now just a defunct recommendation.