code: func LookupErrorType(code int) ErrorType {
  	for t, c := range errorTypeToStatusCodeMap {
  		if c == code {
  			return t
  		}
  	}
  
  	return UnknownError
  }
docs: // LookupErrorType returns the ErrorType for the given HTTP StatusCode,
  // UnknownError is returned if the error type could not be found.