Return the error directly instead of a generalized one.