Writing this error to stderr is probably better.