code: protected HttpStatus getHttpStatus(Map<String, Object> errorAttributes) {
  		int statusCode = (int) errorAttributes.get("status");
  		return HttpStatus.valueOf(statusCode);
  	}
docs: Get the HTTP error status information from the error map.
  @param errorAttributes the current error information
  @return the error HTTP status