macro initErrorcodeMap(K, V; res: untyped; initFunc: typed)
template declErrorcodeWith[K, V](initFunc: typed)