Addresses #40

It just prints a meaningful error.