Error raise added, readme updated