use built-in HTTP error codes