error types are not initializable
simplify error message a bit