make errors property publicly readable from outside