added error accessors