typed errors