Error format in state.db and README