if you put your errors under Targeprocess module they should be defined in targetprocess.rb
if you put your error in errors.rb file which is under targetprocess directory then they should be defined under targetprocess::errors module