Make Error fields public