Wrap errors with our class.
Surpass warnings during tests.