If you refer to the Error type without importing it first, then you get this:
which is easy to misread as "a type error occurred which was unknown to the compiler" rather than "your code refers to an unknown type called 'Error'". Perhaps we can make this distinction a little clearer? Unknown type: Error or Unknown type 'Error' perhaps?
If you refer to the
Errortype without importing it first, then you get this:which is easy to misread as "a type error occurred which was unknown to the compiler" rather than "your code refers to an unknown type called 'Error'". Perhaps we can make this distinction a little clearer?
Unknown type: ErrororUnknown type 'Error'perhaps?