Improves error raised on undefined operator