make transport error match interface