return an specific error for non python