fix for overriding error details

the other way around wasn't picking up error overrides. the same tests should be valid, no?