check that error is created the same as levelup
compatible error with levelup
6.1.8