Use more semantic error type