Static error value checking