Remove Error class
Allow injection of the current parameter under test