Added PasteError to replace log.Fatal.