get State By Code
Returns the error state corresponding to the given HTTP status code.
Return
The matching DocumentErrorStates, or SERVER_ERROR if no match is found.
Parameters
code
The HTTP status code to look up.
Returns the error state corresponding to the given HTTP status code.
The matching DocumentErrorStates, or SERVER_ERROR if no match is found.
The HTTP status code to look up.