Improved method error wrapper.