Created a better error whena  class does not exists.