add match to error codes