use integers for errorcodes, not constants