unexported Error type