added include guards to errorcodes