Revert "Make errors for testing"

This reverts commit 93a93dc469a2206f65b647fc706c5a6ae854f5fc.