St> class Null safety
During tests, use this error observer if you want all errors to be thrown, and not swallowed, including UserExceptions. You should probably use this in all tests that you don't expect to throw any errors, including UserExceptions.
On the contrary, when you are actually testing that some code throws
specific UserExceptions, you should NOT use this error observer, but
should instead let the UserExceptions go silently to the error queue
errors field in the store), and then assert that the queue
actually contains those errors.
- Implemented types