Opposite of "error-prone"
Robust seems to be able to indicate good code quality. How about clean and well-structured?
I recommend meticulous:
taking or showing extreme care about minute details; precise; thorough
Try unerring
Making no errors
Also, optimal
Most effective or best