KS5011
An error type that isn't declared. Declare it with error Name { }, or use a built-in one such as Validation, NotFound or IO.
A built-in type that was renamed is an error, with a fix that writes the new name: QueryError is now Query, and ConnectionError is now Connection.