make error-function usable in compiletimelogging etc. is not setup at compiletime, so current implementation didnot work