project: close #186; replace 'type' with 'id' in Error objects