Renamed errCode to errcode as it is in Matrix specs