Need to import the error class first.